|
|
Root user?
|
|
|
|
Fresh-Faced Recruit
Join Date: May 2005
Status:
Offline
|
|
High,
How do i enable or create a 'root' user under Panther? 'su' and 'sudo' don't work because my admin password fails leading me to belive that 'admin' is not the same as 'root'.
Thanks,
JPW
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: May 2005
Status:
Offline
|
|
No problem. I found Net Info Manager.
JPW
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Sep 2001
Location: Chico, CA and Carlsbad, CA.
Status:
Offline
|
|
Originally Posted by trkkazulu
High,
How do i enable or create a 'root' user under Panther? 'su' and 'sudo' don't work because my admin password fails leading me to belive that 'admin' is not the same as 'root'.
Allow me to demystify "admin" for you. Being an "admin" on a Mac OS X system merely means that your user is a member of the "admin" group. You can see this by opening the Terminal.app located in the Utlities folder and typing id. You should see that your user is a member of various groups, including "admin."
The su and sudo utilities are very similar in that they allow you to run commands as another user, but there is one main difference. You can think of su as being "switch user" and sudo as "switch user do" (do something as another user).
When you use su you are prompted for a password, this is the password of the user you are switching to. Thus, when you type "su" on a default Mac OS X install, it is asking for root's password, which there is none. You can surely set a root password, but this is not necessary, this is where sudo comes in. When you type "sudo," you are prompted for YOUR password. This allows you to run commands as root without knowing root's password. So, being an "admin" merely allows you access to the "sudo" mechanism (controlled in normal *nix systems through /etc/sudoers).
Make sense?
|
"In Nomine Patris, Et Fili, Et Spiritus Sancti"
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Apr 2002
Location: california
Status:
Offline
|
|
If your (admin user's) password does not work with sudo (note: it's not supposed to work with su), then there is a problem with your setup which should be fixed. Enabling the root account (by assigning a password in NetInfo Manager) won't solve that problem.
|
|
|
|
|
|
|
|
|
Registered User
Join Date: Jan 2006
Location: New England, USA
Status:
Offline
|
|
Originally Posted by Tesseract
If your (admin user's) password does not work with sudo (note: it's not supposed to work with su), then there is a problem with your setup which should be fixed. Enabling the root account (by assigning a password in NetInfo Manager) won't solve that problem.
So, how would one go about fixing the problem (sudo not working you your admin password)?
Thanks,
--Chip
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|