How to Get Your Admin Password in Mac if You Don't Know It

by Jedadiah Casey

Apple computers running the Mac OS X operating system allow for the creation of two different kinds of primary user accounts -- administrator and standard. A standard account has limited permissions and requires the password of an administrator account before it is able to make changes to the computer. Without the administrator password, important system changes cannot be made. You can get a new administrator password on the Mac if it is lost or forgotten through single user mode.

Power on or restart the computer, and then immediately press and hold "Command" and "S" until a black screen appears.

Type "mount -uw /" without quotes, and then press "Return."

Type "launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist" without quotes, and then press "Return."

Type "ls /Users" without quotes, and then press "Return." This displays the list of user accounts on the system.

Type "dscl . -passwd /Users/account password" without quotes, and then press "Return." Replace "account" with the account needing the administrator password. Replace "password" with the new administrator password.

Type "exit" and then press "Return" to reboot the computer.

About the Author

Jedadiah Casey started writing professionally in 2007, with articles published in "The Flagler Times" newspaper. He has more than 20 years of experience with computers and networking. Casey holds a Bachelor of Science in information systems from the University of Central Florida, as well as professional industry certifications.