pchettri
asked on
Mac El Capitan Key chain issue
I recently have to reset user password from terminal with reset command and then I started getting authentication error on Keychain.
I reset the keychain, deleted the keychan, re-pointed to same keychain, signed in to company icloud account ran verification and it does show error with -
Repair started
Checking keychain configuration for steve (user ID=501)
Home directory is /Users/steve
Checked login keychain
Checked settings for ~/Library/Keychains/login. keychain
Keychain can't be unlocked automatically. Please attempt to unlock ~/Library/Keychains/login. keychain from Keychain Access.
Unable to change password for ~/Library/Keychains/login. keychain. Please change password using Edit > Change Password for Keychain.
Checked default keychain
Checked contents of ~/Library/Keychains/login. keychain
No problems found
Repair completed
User keeps getting "accountsd wants to use the "login" keychain" when switching application.
I reset the keychain, deleted the keychan, re-pointed to same keychain, signed in to company icloud account ran verification and it does show error with -
Repair started
Checking keychain configuration for steve (user ID=501)
Home directory is /Users/steve
Checked login keychain
Checked settings for ~/Library/Keychains/login.
Keychain can't be unlocked automatically. Please attempt to unlock ~/Library/Keychains/login.
Unable to change password for ~/Library/Keychains/login.
Checked default keychain
Checked contents of ~/Library/Keychains/login.
No problems found
Repair completed
User keeps getting "accountsd wants to use the "login" keychain" when switching application.
When you change the password through the System Preferences--> Users & Groups --> Change Password button it changes both the account password and the keychain password to keep the 2 passwords in sync.
When you change the password on the command line, you only reset the user account password, not the keychain password. If you did this because the user lost the password, then there is no way to recover the keychain password. You must delete the keychain. The user must start over. If the user might remember it at a later date, move the keychains to another folder.
If you do know the password, you can use the security command line tool to unlock the keychain with the known password and set the password to the current account password.
When you change the password on the command line, you only reset the user account password, not the keychain password. If you did this because the user lost the password, then there is no way to recover the keychain password. You must delete the keychain. The user must start over. If the user might remember it at a later date, move the keychains to another folder.
If you do know the password, you can use the security command line tool to unlock the keychain with the known password and set the password to the current account password.
ASKER
I have already tried deleting key chain password. Is there any different way of deleting it. Could you suggest the detailed steps
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Changing the user password usually causes this problem and apple hasn't made it easy to deal with when it happens.