Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the '10.5: Reset a user's password in single user mode' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Reset a user's password in single user mode
Authored by: kholburn on Apr 26, '08 09:35:42AM

passwd will change the user's password in whatever way the system has been set up. Unix systems don't all use /etc/passwd, actually most standalone systems use /etc/shadow not /etc/passwd. Most networked systems use ldap or kerberos or even opendirectory. If passwd has been tailored correctly to the mac it should change the user's password correctly. Maybe not the keychain access password though.

N.B. I haven't tried using passwd in 10.5.

[ Reply to This | # ]
Confirmed: passwd works in 10.5
Authored by: ilikeimac on Jun 17, '09 07:44:15PM

I did just the following after rebooting to single user mode in 10.5 and it worked:

/sbin/mount -uw /
passwd username
After the next reboot my machine didn't automatically login, even though it is configured to do so, and it prompted me for the keychain password in order join my wireless network, but it did honor the new password and it sounds like you can subsequently reset the password in System Preferences to change the keychain password.

[ Reply to This | # ]