Created
January 20, 2018 18:30
-
-
Save rtrouton/4e2e3c21f1e9e4087d8ef45be2febb02 to your computer and use it in GitHub Desktop.
How to use sysadminctl
This file contains 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
Usage: sysadminctl [[interactive] || [-adminUser <admin user name> -adminPassword <admin user password>]] | |
-deleteUser <user name> [-secure || -keepHome] | |
-newPassword <new password> -oldPassword <old password> [-passwordHint <password hint>] | |
-resetPasswordFor <local user name> -newPassword <new password> [-passwordHint <password hint>] | |
-addUser <user name> [-fullName <full name>] [-UID <user ID>] [-shell <path to shell>] [-password <user password>] [-hint <user hint>] [-home <full path to home>] [-admin] [-picture <full path to user image>] | |
-secureTokenStatus <user name> | |
-secureTokenOn <user name> -password <password> | |
-secureTokenOff <user name> -password <password> | |
-guestAccount <on || off || status> | |
-afpGuestAccess <on || off || status> | |
-smbGuestAccess <on || off || status> | |
-automaticTime <on || off || status> | |
-filesystem status | |
Pass '-' instead of password in commands above to request prompt. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment