|
|
10.5: Reset a user's password in single user mode
Hi there,
I don't think passwd would change the password. The passwd command will change the password in /etc/passwd. But Mac OS X doesn't rely on /etc/passwd for passwords, it relies on Directory Service and you have to use the dscl commande to change things in Directory Service.
10.5: Reset a user's password in single user mode
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.
Confirmed: passwd works in 10.5
I did just the following after rebooting to single user mode in 10.5 and it worked: /sbin/mount -uw / passwd usernameAfter 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. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.16 seconds |
|