Created
February 8, 2018 22:00
-
-
Save infestacool/d161fb1f566dc339b079d98eec88ce0a to your computer and use it in GitHub Desktop.
Run this logged in as a user to enable secureToken for that user. It will prompt for admin credentials and the the user's password.
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/bash | |
| echo We will enable SecureToken on $USER | |
| sysadminctl interactive -secureTokenOn $USER -password - | |
| exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment