Difference between revisions of "Sysadminctl"

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

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: