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.
- Entering a Password Multiple Times for Security
- Adding a new user in Linux
- Designing an Authentication System
- Appeals of MySpace
- ViralInviter: Allow Visitors to Invite Friends with their Address Books
- First Java AP Computer Science Exam
- Java Modal Window
- OS X Password Recovery Discussion
- Unfold any folder
- Motive SmartBridge
» Blogging Challenge
» the year of the OS X exploit
» Eject CD from Mac Mini
» Entering a Password Multiple Times for Security



sorry sned yhis before to end coment…
to retur to prompt i push Ctr + Z
passwd [user] delay 15 secont and return prompt ndot ask password
you sugestion, i need recovery the password my DVD not work, my song create a game whit it
Thanks
in my PowerBook not work
/sbin/fsck -y —— ok
/sbin/mount -uw —— ok
/sbin/SystemStarter — ok
niutil -list . /users —- the PBook not response and no see prompt
Brilliant thanks. the username thing works too. one thing - for people not used to script language etc. you don’t see your password as you type, type it, hit return and typr it again and hit return again and then type reboot - it seems like it’s not working but it is.
Thanks for the info! You couldn’t have posted at a better time. I just had my osx box rooted. I enabled internet forwarding (wireless sharing to ethernet) with 128 bit wep password. The next day I brought up fink to update a package to find out my user is no longer an admin. I had a backup admin account too. It was also changed to a standard user. Now I am debating whether or not I should do a complete reinstall… know any good rootkit id packages?
% niutil -list . /users
11 nobody
12 root
13 daemon
14 unknown
15 smmsp
16 www
17 mysql
18 sshd
52 user1
53 user2
54 user3
63 news
64 pgsql
…