Skip to content

Instantly share code, notes, and snippets.

@Nora-Ballard
Last active August 29, 2015 13:56
Show Gist options
  • Select an option

  • Save Nora-Ballard/9124902 to your computer and use it in GitHub Desktop.

Select an option

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.
-- 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