Keychain Errors & Apps not working Properly

sgiesbrecht
Contributor III

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.


1 ACCEPTED SOLUTION

dmichels
Contributor II

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 solution in original post

1 REPLY 1

dmichels
Contributor II

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