Created
November 24, 2021 20:50
-
-
Save macmule/2c277cdf16d36c5c2e0fa9502c15e455 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/ | |
| # | |
| #################################################################################################### | |
| ############# | |
| # | |
| # Add all users to lpadmin | |
| # | |
| ############# | |
| sudo dseditgroup -o edit -n /Local/Default -a everyone -t group lpadmin | |
| ############# | |
| # | |
| # Mac OS X v10.6: Generating a Kerberos Ticket Granting Ticket (TGT) during an Active Directory user's initial login | |
| # http://support.apple.com/kb/HT4100 | |
| # | |
| ############# | |
| sudo cp /etc/authorization /etc/authorization.bak | |
| 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