Last time I got my Mac and set root password on it. After a while I forgot the password when I need to set the system. Luckily, I found the easy step to reset the password without mac osx boot dvd.
today I’ll share how to reset root password (or any user password) on Mac OSX with simple step.
NOTE : I tried this on Mac OSX Snow leopard. Other version i’m not sure if it works.
Here is the steps:
- Reboot the Mac and hold down Command+S at boot. After a while you will enter into the command line.
- Type the command to check the Mac OS X filesystem for errors and fixes them :
fsck -fy
- mounts the root Mac OS X drive as writable :
mount -uw /
- reset root password :
passwd root
- type new password and confirm the changes
- reboot the Mac :
reboot