|
|
Ut-oh ... lost "su" password
|
|
|
|
Mac Enthusiast
Join Date: Feb 2001
Location: Work: NYC Live: NJ
Status:
Offline
|
|
Hello, I'm hoping somebody can help me here. It seems that I no longer have my su password. I haven't switched to su in a bit in terminal and today when I tried I received the su: Sorry message.
I'm hoping there is a way that I can reset the su account's password, so any help would be GREATLY appreciated.
Thanks!
|
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status:
Offline
|
|
You could deactivate and reactivate root in Directory Utility. But why do you have the account active in the first place? Why not just sudo?
|
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: Feb 2001
Location: Work: NYC Live: NJ
Status:
Offline
|
|
You know you're right, it really doesn't make much sense to use root at all.
I'll just go with sudo, much simpler solution.
Thanks for the smack in the back of the head ;-).
|
|
|
|
|
|
|
|
|
Posting Junkie
Join Date: Oct 2005
Location: Houston, TX
Status:
Offline
|
|
You can reset it by booting off the OS X install disk, IIRC.
|
|
|
|
|
|
|
|
|
Senior User
Join Date: Sep 2000
Location: Glasgow, Scotland UK
Status:
Offline
|
|
as others have said its seems odd that you want to use su to get root access, sudo is, in general a better idea. i appreciate that sometimes it can be tedious to have to prefix your commands with sudo, so as a tip for these situations i suggest using
$ sudo bash
this will launch a super user shell. using this technique you never need to set a root password
obviously you still need su (switch user) if you want to operate as another normal (ie not root) user on your system.
|
"You can't waste a life hating people, because all they do is live their life, laughing, doing more evil."
-ALPHA ROBERTSON,whose daughter was one of four girls killed in the bombing of a Birmingham, Ala., church in 1963.
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Oct 2000
Location: Los Angeles
Status:
Offline
|
|
Why not switch users using the login command?
|
"The natural progress of things is for liberty to yield and government to gain ground." TJ
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Sep 2002
Location: New York, NY
Status:
Offline
|
|
sudo -s will keep you in a root shell.
|
Vandelay Industries
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|