|
|
#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:
Code:
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: Code:
mount -uw / launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist Now you can continue reseting the user's password: Code:
dscl . passwd /Users/bob bobsnewpassword
__________________
problem? Last edited by nelz886; Jul 27, 2011 at 10:17 PM. |
|
|
|
0
|
|
|
#2 |
|
Actually... you can just:
mount -uw / launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist passwd <username> It works. |
|
|
|
0
|
|
|
#3 |
|
This works in Snow Leopard, not in Lion. com.apple.DirectoryServices.plist was removed in Lion
__________________
problem? |
|
|
|
0
|
|
|
#4 |
|
Try this. Read the comments for added suggestions.
http://hints.macworld.com/article.ph...10727063028750 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: resetpassword 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. |
|
|
|
0
|
|
|
#5 |
|
Right. I provided instructions on how to reset the password via Single-User mode in Lion.
__________________
problem? |
|
|
|
0
|
|
|
#6 |
|
problems
@ nelz886
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. |
|
|
|
0
|
![]() |
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| thread | Thread Starter | Forum | Replies | Last Post |
| Apogee Duet (firewire) on 10.7 Lion | HoldernessMedia | Digital Audio | 67 | Nov 13, 2012 11:13 AM |
| Resolved: Xbox Live through Mac without expensive attachment [LION 10.7] | jkarp1 | Mac OS X 10.7 Lion | 0 | Oct 14, 2011 08:15 AM |
| OS X 10.7 with developer account | ssdeg7 | Mac Applications and Mac App Store | 6 | Jun 27, 2011 09:45 AM |
| POLL - Price for 10.7 Lion | nathanl1192 | Mac OS X 10.7 Lion | 1 | Feb 24, 2011 09:58 AM |
All times are GMT -5. The time now is 11:15 PM.







Linear Mode

