Difference between revisions of "Usermod"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 2: Line 2:
  
 
  sudo usermod -aG sudo <username>
 
  sudo usermod -aG sudo <username>
 +
 +
usermod -s /usr/sbin/nologin myuser
 +
 +
 +
 +
== Related commands ==
 +
* <code>[[passwd]]</code>
  
  
 
== See also ==
 
== See also ==
 
* {{Linux Commands privileges}}
 
* {{Linux Commands privileges}}

Revision as of 08:46, 5 May 2020


sudo usermod -aG sudo <username>
usermod -s /usr/sbin/nologin myuser


Related commands


See also

Advertising: