Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Mac OS X > Mac OS X 10.7 Lion

Reply
 
Thread Tools Search this Thread Display Modes
Old Jul 27, 2011, 08:52 PM   #1
nelz886
macrumors member
 
Join Date: Oct 2010
Location: New Jersey
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
Nice, but this doesn't work in 10.7 Lion. In addition, you are prevented from changing the root password in single-user mode.

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
^ after typing this, you may now use 'passwd root' to change the root password

Now you can continue reseting the user's password:
Code:
dscl . passwd /Users/bob bobsnewpassword
** You may see an error message that states com.apple.DirectoryServices.plist cannot be found; ignore this in Lion.
__________________
problem?

Last edited by nelz886; Jul 27, 2011 at 10:17 PM.
nelz886 is offline   0 Reply With Quote
Old Aug 10, 2011, 12:54 PM   #2
macmba
macrumors member
 
Join Date: Aug 2011
Actually... you can just:

mount -uw /
launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist
passwd <username>

It works.
macmba is offline   0 Reply With Quote
Old Sep 3, 2011, 10:21 AM   #3
nelz886
Thread Starter
macrumors member
 
Join Date: Oct 2010
Location: New Jersey
Quote:
Originally Posted by macmba View Post
Actually... you can just:

mount -uw /
launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist
passwd <username>

It works.
This works in Snow Leopard, not in Lion. com.apple.DirectoryServices.plist was removed in Lion
__________________
problem?
nelz886 is offline   0 Reply With Quote
Old Sep 3, 2011, 02:09 PM   #4
mrapplegate
macrumors 68020
 
Join Date: Feb 2011
Location: Cincinnati, OH
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.
mrapplegate is offline   0 Reply With Quote
Old Sep 6, 2011, 03:15 PM   #5
nelz886
Thread Starter
macrumors member
 
Join Date: Oct 2010
Location: New Jersey
Right. I provided instructions on how to reset the password via Single-User mode in Lion.
__________________
problem?
nelz886 is offline   0 Reply With Quote
Old Sep 18, 2011, 03:36 PM   #6
dvot
macrumors newbie
 
Join Date: Sep 2001
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.
dvot is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Mac OS X > Mac OS X 10.7 Lion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Privacy / DMCA contact / Affiliate and FTC Disclosure
Copyright 2002-2013, MacRumors.com, LLC