If I remember correctly:
Code:
prompt>su root [return]
prompt>password: [your root password here][return]
prompt root>_
Macs don't have the root account enabled as an actual user account by default.
su means "switch user". If you need to work as root, there's a utility for changing (in other words, enabling) the root account password on the setup DVD. I don't know how you do it on machines without DVD drives. I think if root password isn't set, it won't ask you, just switch to root.
You may need the correct permissions on the scripts (if you're adding executable scripts):
For this use
chmod ("change mode").
To see the existing permissions on a file, use
ls -l. That's "list (files) in long format".
You might need
ls -a (-a means "attributes").
The permissions are
Read,
Write and e
Xecute. The three occurrences are for the three classes of UNIX user: (in order) file_owner, owner's_user_group, everyone else. You can use
chmod to add execute to the permissions.
There are UNIX man pages (Windows' "help" equivalent) on Apples, but they're incomplete. The basic stuff is there though. at the prompt, type
man chmod or
man su or
man ls for more nerdy stuff than one mind can resonably cope with. If it scrolls through too fast, you can use
more, as in
Hope that makes sense, but I'm somewhat rusty these days, and our youngest Mac is running 10.5!
E.