Mac OS X Password Recovery

Instructions for the Mac OS X Password Recovery.

Although there’s no real way to recover a lost root password, you can change the root password even if you do not know the current one. You must have physical access to the machine in order to accomplish this task.

1. Click Restart at the login window

2. While the computer is restarting, hold down “Command-S” until you see text scrolling through the window. This boots the computer into single user mode.

3. At the Localhost% prompt type:

/sbin/fsck -y
/sbin/mount -uw /
/sbin/SystemStarter

You will then see various services starting up.

4. When the Localhost% prompt reappears, type:

passwd [username]

It will then ask you to type the new root password twice, so do so.

(Though I’ve not tried it, it appears you can type niutil -list . /users to get a list if users if you do not know the username….if someone wants to verify this, I would be most appreciative).

5. After entering the new password, type:

reboot

6. At the login window, enter the username with the new password. Once you are logged in, you can use the Multiple Users application (/Applications/Utilities) to change your user’s password, or create a new user account.

Note: this may not work for newer versions of OS X; I think they did something about it in a security update. I hope this helps you with Macintosh password recovery.

If you’re interested in Cisco exam training, consider the various exams available, such as the 1Y0-259 exam. Achieving this certification right after the 1z0-042 is indeed quite rare. Such pros usually go on for 220-602 as well as 350-018 certifications. Even students of 350-029 have gone this route.

Leave a Message

130 Messages

i am trying to get through the username password and after i type the password the second time it says;

sorry
localhost:/var/db/netinfo root#

please help i have been working on this for 5 hours

 

On my Power Mac G5 running Tiger, I cannot get it to boot up in single user mode. I hold “command-s” but it doesnt work. Any help?

 

i was able to change the root pass word finnaly after toying around but i do not know how to fidn the username i dot have to login but all my stuff is blaock by an administrator

 

after I type in the password the second time, I get the error netinfo connection failed Remote system error SH-2.05A#

Has anyone seen this b4?

 

ok heres my problem, i got this computer off ebay
ibook g4 with charger
theres administrator passwords and names needed for alot of things and i cant get on them

there is no logon screen it just goes straight to desktop after starting up

when i do the above i get after the syster starter and it wont go back to local host

HELP

also if i buy tiger how do i clear the syster and install that

 

RSS feed for comments on this post. TrackBack URI

Sorry, the comment form is closed at this time.