Difference between revisions of "Sysadminctl"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
 
*<code>sysadminctl -addUser YOUR_USERNAME</code>
 
*<code>sysadminctl -addUser YOUR_USERNAME</code>
 +
 +
 
*<code>sysadminctl -resetPasswordFor user_name -newPassword YourNewPassword </code>
 
*<code>sysadminctl -resetPasswordFor user_name -newPassword YourNewPassword </code>
 
*<code>sysadminctl -resetPasswordFor user_name -newPassword YourNewPassword -adminUser admin_with_token -adminPassword password_of_admin</code>
 
*<code>sysadminctl -resetPasswordFor user_name -newPassword YourNewPassword -adminUser admin_with_token -adminPassword password_of_admin</code>
 +
  
 
*<code>[[sysadminctl -secureTokenStatus]]</code>
 
*<code>[[sysadminctl -secureTokenStatus]]</code>
Line 10: 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>
 +
* [[Activate SSH server on macOS]]
 +
* Creation date: ls -l ~/*/.localized
  
 
== See also ==
 
== See also ==

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]

See also[edit]

Advertising: