On Monday, October 6, 2003, at 10:56 PM, Tom Peterson wrote:


Good luck. Unless you have enabled root access in netinfo, your admin
password will not work using su-  . Go to netinfo in the
volume/applications/utilities. There is a menu item for enabling root
access. It involves putting a password on the root login. Then su- will
become verrrrryyyyy dangerous. :+) and work.

then type sudo rm -r Previous\ Systems

Note that they are using the "sudo" command and not su. They are two entirely separate commands.


Sudo, followed by a command, will prompt you for your password. Once you successfully enter your password, that command will be run as the root (or another) user on the system. By default under OS X, the root user, and anyone with admin privileges (ie the user you created during your OS X install) will have the ability to run any command as root via sudo. This access is controlled by a file called /etc/sudoers, and can be edited with the "visudo" command. That file, and the command to edit it can be accessed only at the command line. Sudo is nice in that you can give someone rights to only run a single command or shell script as root, even if they are not a root or admin equivalent. Typing "man sudo" at the command prompt will give you a ton of information on the sudo command and all it's permutations.

Hope this helps...

Steve


-- G-Books is sponsored by <http://lowendmac.com/> and...

Small Dog Electronics    http://www.smalldog.com  | Refurbished Drives |
-- Check our web site for refurbished PowerBooks  |  & CDRWs on Sale!  |

Support Low End Mac <http://lowendmac.com/lists/support.html>

G-Books list info:      <http://lowendmac.com/lists/g-books.html>
 --> AOL users, remove "mailto:";
Send list messages to:  <mailto:[EMAIL PROTECTED]>
To unsubscribe, email:  <mailto:[EMAIL PROTECTED]>
For digest mode, email: <mailto:[EMAIL PROTECTED]>
Subscription questions: <mailto:[EMAIL PROTECTED]>
Archive: <http://www.mail-archive.com/g-books%40mail.maclaunch.com/>



---------------------------------------------------------------
The Think Different Store
http://www.ThinkDifferentStore.com
---------------------------------------------------------------




Reply via email to