Deleting login keychain in macOS Sequoia

Jason33
Contributor III

How are we to troubleshoot Keychain issues, if we cant open Keychain Access.app if the users password isnt working? I've tried deleting the db in ~/Library/Keychains/ and rebooted, but that didnt help. This guy is getting prompts for login keychain for any non-browser app, including Self Service. Typically, in Sonoma and below we'd delete the login keychain in Keychain Access, delete the folder in ~/Library/Keychains then reboot, and at next login the user is prompted to create a new keychain. That aint happening now, and I'm banging my head against the wall trying to figure this out.

3 REPLIES 3

mvu
Valued Contributor III

Did you get all the .db files in the Keychain folder?

Could try a script to clean it out:
https://community.jamf.com/t5/jamf-pro/repair-we-encountered-an-error-while-adding-account-please-tr...

Jason33
Contributor III

This is for the users login keychain, located in ~/Library/Keychains. And yep, in that directory I had him manually move everything to the trash. I havent yet tried /Library/Keychains - I think that is where the system keychains are stored, but could give it a shot. Guys machine aint workin' as it is.

Jason33
Contributor III

Ended up just deleting everything in ~/Library/Keychains, rebooted, and the user was prompted to create a new keychain. Everything's working as it should be now. I should have just gone that route to begin with