Last active
August 29, 2015 13:56
-
-
Save Nora-Ballard/9124902 to your computer and use it in GitHub Desktop.
Change Kerberos Renew Launch Agent to use -R instead of -B to fix an issue with tickets not renewing in Leopard.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- Change Kerberos Renew Launch Agent to use -R instead of -B | |
| -- Fixes an issue of tickets not renewing. | |
| do shell script "defaults write /System/Library/LaunchAgents/com.apple.Kerberos.renew ProgramArguments -array '/usr/bin/kinit' '-R'" with administrator privileges | |
| do shell script "chown root:wheel /System/Library/LaunchAgents/com.apple.Kerberos.renew.plist" with administrator privileges | |
| do shell script "chmod +r /System/Library/LaunchAgents/com.apple.Kerberos.renew.plist" with administrator privileges | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment