Created
November 24, 2021 21:08
-
-
Save macmule/a04b4af376893dcf6811544382025baa to your computer and use it in GitHub Desktop.
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
| #!/bin/sh | |
| #################################################################################################### | |
| # | |
| # License: https://macmule.com/license/ | |
| # | |
| #################################################################################################### | |
| #Backup the original authorization file | |
| sudo cp /etc/authorization /etc/authorization.bak | |
| #Modify /etc/authorization to create a kerberos ticket at login | |
| sudo /usr/libexec/PlistBuddy -c "Add :rights:system.login.console:mechanisms:11 string "builtin:krb5store,privileged"" /etc/authorization |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment