Difference between revisions of "Sysadminctl"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 13: | Line 13: | ||
* <code>[[administrator]]</code> and <code>[[root]]</code> | * <code>[[administrator]]</code> and <code>[[root]]</code> | ||
* <code>[[dscl . -create]]</code> | * <code>[[dscl . -create]]</code> | ||
+ | * <code>[[dscl]] . list /Users</code> | ||
* <code>[[/Users/]]</code> | * <code>[[/Users/]]</code> | ||
* <code>[[dseditgroup]]</code> | * <code>[[dseditgroup]]</code> |
Latest revision as of 11:56, 3 July 2022
sysadminctl -addUser YOUR_USERNAME
sysadminctl -resetPasswordFor user_name -newPassword YourNewPassword
sysadminctl -resetPasswordFor user_name -newPassword YourNewPassword -adminUser admin_with_token -adminPassword password_of_admin
Related terms[edit]
administrator
androot
dscl . -create
dscl . list /Users
/Users/
dseditgroup
- Activate SSH server on macOS
- Creation date: ls -l ~/*/.localized
See also[edit]
Advertising: