[HOWTO] Reset User Password via single user mode

#41
I feel like a complete fool... I changed my admin password on my Mac Lion 10.7.3 version, and after it was successfully changed, I typed the new pw just to see if it worked, but it didn't accept it. I must have pressed a different key then I meant to by accident when filling in my new pw. I searched everywhere and tried different code options in terminal, but unfortunately no luck. I am thinking maybe it's because I have the latest Lion version installed. I know you can reset using Apple ID but unfortunately I hadn't enabled that option previously. I can still use my mac since I am logged in (just won't be turning it off until I can find a way to reset the pw). Any help will be greatly appreciated.
A frustrated newbie member...
 

New

Registered
#44
I recently got a used mac os x. i know the administrator is jackthecountryman from what i seen. there is also another user and the computer is always logged into this account . as you know i cannot connect to internet, ect without the mac needing the users password. i tried to change the password without the software, but i must be doing something wrong. when i get to passwd then enter the users name. it does nothing. it says command not found.
can i purchase the software if so how much, or will the software work with this certain computer. it should i just want to make sure, i go about it the right way the first time.
can i download the software, and burn it onto a cd
i know there is something i am missing. If so please help i am very new to this. The last time i used a mac was in 2008 for college and it was learning purposes. There was no figuring out passwords and such. THANKS
 

Satcomer

In Geostationary Orbit
#45
I recently got a used mac os x. i know the administrator is jackthecountryman from what i seen. there is also another user and the computer is always logged into this account . as you know i cannot connect to internet, ect without the mac needing the users password. i tried to change the password without the software, but i must be doing something wrong. when i get to passwd then enter the users name. it does nothing. it says command not found.
can i purchase the software if so how much, or will the software work with this certain computer. it should i just want to make sure, i go about it the right way the first time.
can i download the software, and burn it onto a cd
i know there is something i am missing. If so please help i am very new to this. The last time i used a mac was in 2008 for college and it was learning purposes. There was no figuring out passwords and such. THANKS
See g/re/p's post on page 3, Sept7, 2009 because his post will cover most all bases to reset a password on an OS X Mac.
 
#47
Not quite accurate... The password reset method in that article is for either Lion or Mountain Lion.
If you are not going to use the Single User method, you have to be able to boot to another drive or partition, in any case.
The presence (or lack) of a firmware password makes no difference - unless you don't know what that firmware password is.
One of the previous posts mentions changing the RAM configuration as part of the means to reset a firmware password. That solution can not possibly work on Macs sold within the last year or so. If you have a newer Mac, you have to call Apple (or your authorized service tech has to call Apple) as the procedure is now more complex (and a more secure way to - eh - secure your Mac).
Good info here: http://reviews.cnet.com/8301-13727_7-57542601-263/efi-firmware-protection-locks-down-newer-macs/
 
#53
There are multiple commands to reset Mac admin password in single user mode and the step varies as per the situation. For example resetting password in 10.4-10.5 is simple by typing the following command :
sh /etc/rc
passwd shortusername


And to reset password in Mac OS X 10.6-10.10 use the following command in single user mode
launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist
dscl . -passwd /Users/shortusername

There is another method to reset password in Single user mode which actually tricks your Mac to think that the Mac OS X was never setup after installation. And to follow this steps you need to type the following commands:
Also you can use recovery mode to reset mac admin password in any Mac OS X running 10.7 to 10.12.
Simply boot into single user mode.
Run commands “fsck -fy” and “mount -uw /”.
Type the command “rm /var/db/.AppleSetupDone” and hit enter.

You may want to read all the methods to reset Mac administrator password in detailed.
 
Top