Difference between revisions of "Usermod"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 8: Line 8:
 
  [[ssh]] and [[scp]] will fail
 
  [[ssh]] and [[scp]] will fail
  
 +
 +
[[groups]] USERNAME
  
  

Revision as of 08:03, 24 May 2020


sudo usermod -aG sudo <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: