Tag Archives: reset password

Recover lost administrator password in OS X (Lion)

Restart the computer in single user mode:
Restart and hold Cmd+s

fsck -fy
mount -uw /
rm /var/db/.applesetupdone
reboot

After reboot is completed, go through the wizard. Open System Preferences –> Users and Groups –> reset password of the previous (original, non-root) user.

Reboot and login to the original user.

Advertisements