On a Mac I do not have the root password, but I have a user with administrative privileges.
Can I use it to reset the root password?

Thank's.

MacOS X 10.6.3

link|improve this question

40% accept rate
2  
This is not a StackOverflow question - probably more suited for SuperUser. – ABach May 16 '10 at 19:04
(@ABach, please explain to users that their question will be moved automatically, if applicable. This keeps people from posting the same question twice. Thanks!) – Arjan May 16 '10 at 20:21
feedback

migrated from stackoverflow.com May 16 '10 at 19:58

This question came from our site for professional and enthusiast programmers.

2 Answers

Are you sure your installation of OS X has a root user? It's disabled by default, and to run a command with root privileges the administrative user would use sudo instead, using their own password (which cannot be blank).

link|improve this answer
feedback

Should it not be: sudo passwd root

Alternatively, you can follow these instructions on recovering a root password on Mac OS X: link text.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.