Skip to main content
Solved

Keychain Errors & Apps not working Properly

  • January 11, 2020
  • 1 reply
  • 3 views

Forum|alt.badge.img+10

Recently (about a week or 2) we have started getting Keychain errors and some apps stopped working properly (sometime they work, then other times not). If you launch them several times, the app will eventually will work to some extent.

As some older posts in Jamf Nation, I have deleted all zero bytes files in the ~Library folder (Keychain Error 1.png) but no chain in the behaviour.

Right now, it is only affecting our training classes but it is creeping into our production area.


Best answer by dmichels

The problem is the Keychain Error is User Specific. Each user that logs in must fix their own Keychain. We put a Fix Keychain option in Self Service that is a Script.

!/bin/bash

Deletes the user keychain folder.

user=$(ls -la /dev/console | cut -d " " -f 4)
rm -rf /Users/$user/Library/Keychains/*

exit 0

View original
Did this topic help you find an answer to your question?

1 reply

Forum|alt.badge.img+7
  • Valued Contributor
  • 92 replies
  • Answer
  • January 13, 2020

The problem is the Keychain Error is User Specific. Each user that logs in must fix their own Keychain. We put a Fix Keychain option in Self Service that is a Script.

!/bin/bash

Deletes the user keychain folder.

user=$(ls -la /dev/console | cut -d " " -f 4)
rm -rf /Users/$user/Library/Keychains/*

exit 0


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings