I want to write an applescript that will:
- Prompt the client for their current password and what they want to change the password to.
- Change the login password (account is local, not authenticating against a directory service) to the new password.
- Set the password to unlock the keychain to the new password
- Update Entourage’s key.
Right now I’m having trouble with step 3. I can use the dscl command to change the local account password but what about the keychain? Unless I’m misreading the dictionary keychain scripting does not have a feature to change the keychain’s password, just the keys password. Any suggestions?