|Jul 27, 2011, 08:52 PM||#1|
Single User Mode PW Reset: 10.7 Lion
Previously in 10.5/10.6 to reset a user's password in single-user mode one would have to type this:
mount -uw / launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist dscl . passwd /Users/SHORTNAMEGOESHERE newpasswordhere
Do this in 10.7 Lion; boot into single-user mode and type:
mount -uw / launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist
Now you can continue reseting the user's password:
dscl . passwd /Users/bob bobsnewpassword
Last edited by nelz886; Jul 27, 2011 at 10:17 PM.
|Sep 3, 2011, 10:21 AM||#3|
|Sep 3, 2011, 02:09 PM||#4|
Try this. Read the comments for added suggestions.
Apple has removed the utility to reset a password and restore a user's folder permissions from the Recovery HD. If you need it, you have to open Terminal (from the Recovery HD Utility menu) and type:
Then the old Reset Password application opens.
By the way the old hint to reset a user password by booting in single user mode is no longer working: the file /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist no longer exists.
|Sep 18, 2011, 03:36 PM||#6|
I followed your instructions, but I get the following error message after entering new root password (repeated twice), "Could not verify credentials because the directory server does not support the requested authentication method"
Any other tips?
Last edited by dvot; Sep 18, 2011 at 03:52 PM.
|Feb 12, 2014, 09:43 AM||#7|
My friends i used:
mount -uw /
launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist
dscl . passwd /Users/SHORTNAMEGOESHERE newpasswordhere
old Pass:<same a new>
new pass: <same a old>
retype: <same a old>
and ok ! jejejeje
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|How to get into single user mode on new macbook air||Pie13||Mac Basics and Help||11||Oct 16, 2013 03:40 AM|
|Disabling Single User Mode 10.6.8||Macman671||Mac Basics and Help||3||Oct 15, 2013 09:15 AM|
|in single user mode i get **the volume macintosh could not be repaired**||icarus1||OS X||6||May 7, 2013 11:03 AM|
|Single user mode in MAC OS X||omni1787||OS X||5||Mar 21, 2013 11:07 AM|
|Single User Mode won't recognize any commands||killerbee79||MacBook Pro||2||Jul 7, 2012 03:30 PM|
All times are GMT -5. The time now is 07:07 AM.