How to reset password in single user mode in Mac OS X

To change the user password in Leopard(10.5.x) or SnowLeopard (10.6.x)


  1. Hold "Command + S" key on your mac keyboard to boot your mac into single user mode.
  2. Execute command "mount -uw /" in shell.
  3. Run below command "launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist"
  4. Execute command :  passwd
  5. change the password of root.

Comments

Popular posts from this blog

How to disable USB ports on Mac OS X Mavericks, Yosemite or El Capitan ?

How to enable root login in gnome on Debian 6 or 7