Multiuser operating systems, such as Mac OS X or Linux, come with a mode that boots into a single superuser account. The single-user mode is used mostly for maintenance purposes and, on Mac computers, it can be accessed by holding the Command key and S on startup. Recovering the admin password using the single-user mode requires either the ability to follow instructions to a T or comprehensive admin knowledge.
- Access the single-user mode by holding the Command key and S on startup.
- Type in “mount –uw /” and hit enter.
- Type in “launchctl load /System/Library/Launch
Daemons/com.apple. opendirectoryd.plist” and hit enter.
- Type in “passwd [username]” and hit enter.
- Replace [username] with the name of your account.
- Reset your password.
- Type in “reboot” and hit enter.
- Log in with your new admin password.