Question : Resetting password on a Macbook Pro 10.6 Snow Leapard

I've tried this with no luck:

1.Boot into single user mode (press Command-S at power on)
2.Type fsck -fy
3.Type mount -uw /
4.Type launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist
5.Type dscl . -passwd /Users/username password, replacing username with the targeted user and password with the desired password.
6.Reboot

After running step 5 I get this error:

<dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

I have a user account that doesn't show when using the password reset tool.  I tried this method and it doesn't work either.  I can see the users folder under /Users but can't seem to reset the password.

Any suggestions?

Answer : Resetting password on a Macbook Pro 10.6 Snow Leapard

so try this:

create a new user, with the same user name - best to do this from the GUI logged in as admin/root user (Accounts pane in System Preferences).  See if it says that user already exists or not - if it lets you create the new user then you know something is royally screwed with the original user.

Copy the content into the newly created user folder and then log in with the new user name and see what happens.
Random Solutions  
 
programming4us programming4us