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


Click here to return to the 'Add users via AppleScript, Perl and expect' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Add users via AppleScript, Perl and expect
Authored by: madsteer on Feb 06, '07 07:01:26AM

Changing the password with the BSD passwd command, in my experience, breaks the connection between the user password and the user's login keychain. In fact, changing another users password in System Preferences also does.

the only way to change a user's password and have the keychain relationship maintained is to log in as that user, and then go to System Preferences and change that account's password.

This is really annoying if you have a seperate account to handle Admin tasks, so you can remove your primary accont from admin. I don't actually need to log in as my admin account to do any admin tasks, just change my admin password.

Anyway to command line, or other, script this to maintain the keychain relationship?



[ Reply to This | # ]