|
|
10.5: Reset a user's password in single user mode
Once you mount the file system, can't you just use passwd <username> ?
10.5: Reset a user's password in single user mode
Yep, There is no backdoor into the keychain.
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.
10.5: Reset a user's password in single user mode
You don't have to worry about the Keychain password. Once you change the user's password and can log into the computer all need to do is simply go into the Accounts preference pane and change the password there to either the new password or something different if you so choose. That action will then automatically change the Keychain Password. I've done this several hundred times on Macs from 10.0 through 10.4.11 I haven't yet had to change a password on a Leopard box but I'm sure it will work just the same.
10.5: Reset a user's password in single user mode
Unfortunately, this doesn't seem to work with 10.5. I just did this and now can't access the login keychain (OS 10.5.6). Unfortunately, I don't think there's any way around this. Edited on Jan 06, '11 08:25:59AM by Mr. H
|
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.08 seconds |
|