Difference between revisions of "Usermod"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 +
<code>[[usermod]]</code> command included in <code>passwd</code> package
 +
  
 
  sudo usermod -aG sudo YOUR_USERNAME
 
  sudo usermod -aG sudo YOUR_USERNAME

Revision as of 08:24, 10 November 2020

usermod command included in passwd package


sudo usermod -aG sudo YOUR_USERNAME
usermod -a -G YOUR_GROUP YOUR_USERNAME
usermod -s /usr/sbin/nologin myuser
ssh and scp will fail


groups USERNAME


Related commands

See also

Advertising: