-
Website
http://www.tech-recipes.com/ -
Original page
http://www.tech-recipes.com/rx/712/mac-os-x-recover-lost-root-password/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
davak
83 comments · 1 points
-
danishbacker
9 comments · 1 points
-
flexinfo
11 comments · 1 points
-
bej
4 comments · 1 points
-
dimithri
5 comments · 1 points
-
-
Popular Threads
-
Windows 7: How to Prevent the Mouse from Waking your PC
13 hours ago · 1 comment
-
Outlook 2010: Turn Off Attachment Preview
1 week ago · 1 comment
-
Gmail: How to Send SMS Messages Without Using Email
2 weeks ago · 2 comments
-
Windows 7 – Prevent Live Messenger from Opening at Start Up
1 week ago · 1 comment
-
Symfony: Drop Down List Box Without Submit Button
3 weeks ago · 1 comment
-
Windows 7: How to Prevent the Mouse from Waking your PC
2. wait for terminal show
3. release keys
4. type without the quotes: "/sbin/mount -uaw"
5. press enter
6. type without the quotes: "rm /var/db/.applesetupdone
7. press enter
8. type without the quotes: "reboot"
9. press enter
this will let you create a new admin account when you reboot your computer.
what can I do?
thanks
If you have an account that is privileged (can use sudo), and there can be several on a system, then you can login as that user and use the sudo passwd root command. The password it will ask you for is the current, privileged user's password. Then it will ask for the new root password twice and you should be set. If you do not have an administrative account, let me know.. there are other ways....
Q
Restart the system (Apple menu -> Restart)
Hold down Command-S while restarting -> lots of white on black text
From the command prompt issue these commands:
mount -uw //usr/libexec/register_mach_bootstrap_servers /etc/mach_init.d
netinfod -s local
SystemStarter
passwd root
I believe that in some other versions of OSX, the second and third steps are not required because SystemStarter configures networking in those versions. In 10.3, several services will not start without active networking including opendirectory which stores the passwords.
If you get to the command prompt and run 'passwd root' and it sits for 10-15 seconds and then returns to a command prompt, this is indicative of a timeout waiting for connection to a service that is not running. If you didn't do all of the steps above, try them in that order and see if that helps.
Q
not sure what that's all about
If you want to post it as a new recipe, I'll run it by our apple moderators and see if we can get you a fat amazon gift certificate reward!
hold apple button by the spacebar and s upon boot
type mount -uw / enter
type /usr/libexec/register_mach_bootstrap_servers /etc/mach_init.d enter
type netinfod -s local enter
type SystemStarter enter
type passwd root enter
is all this correct
im wanting to delete everything and install this new any way possible
i appreciate any help i can get if there is anyone willing to talk me through this i might slide a little dough there way hit me up robertseber@yahoo.com any time thanks
sorry i am new to a apple
sorry i am new to a apple
OSX filenames are case sensitive, and the file on my machine was:
/var/db/.AppleSetupDone
:D
2. wait for terminal show
3. release keys
4. type without the quotes: "/sbin/mount -uaw"
5. press enter
6. type without the quotes: "rm /var/db/.applesetupdone
7. press enter
8. type without the quotes: "reboot"
9. press enter
this will let you create a new admin account when you reboot your computer.</ul>
These are great instructions, thanks! This just worked for me!
Lost password
NO administrator account
Only One
Can't find software
HELP
In no way does this recover the lost password!
It is useful for resetting the password.
Important difference.
2. wait for terminal show
3. release keys
4. type without the quotes: "/sbin/mount -uaw"
5. press enter
6. type without the quotes: "rm /var/db/.applesetupdone
7. press enter
8. type without the quotes: "reboot"
9. press enter
which worked great but when i got into my ibook everything that was on it had dissapered!! can anybody tell me how i can get the photos and music back that is on the system somewhere my hard drive is only showing 5 gig available and im about 9gig missing if somebody could tell me how to access these files i would me most gratefull Thanks
i was trying to delete some files that were locked and hidden inside an app. v frustrating for a control freak like me. now very happy your simple instructions allowed me to change the root password, which i had forgotten. still wondering what it was... ???
I have an admin password, and used your recipe to obtain another root password. However, when I try and log in the a new terminal window with the new root password it says "unknown command"
What have I done incorrectly?
ie: change root password, then change account password, then login, and steal company files?
1. go to system preferences
2. select the user from the left sidebar
3.click reset password.
4. it will ask you for a new password.
I tried to reset password via....
1. boot computer and hold the "apple" key and the "s" key.
2. wait for terminal show
3. release keys
4. type without the quotes: "/sbin/mount -uaw"
5. press enter
6. type without the quotes: "rm /var/db/.applesetupdone
7. press enter
8. type without the quotes: "reboot"
9. press enter
But now it just comes up with a select language page and when I choose english it loads up the System Administrator account. I can not log in as anyone else even if I create new users. In this state I try to log out, shut down etc, but nothing happens. Does anyone know what has happened here. Help is so so appreciated.
Please help
Am I supposed to enter a password when the white terminal screen shows up?
Please help
U THE MAN
Just an easy to use bootable CD/DVD . It can also be used on a USB Flash Drive. http://www.lostwindowspassword.com/