Usermod

From wikieduonline
Revision as of 08:24, 10 November 2020 by Welcome (talk | contribs)
Jump to navigation Jump to search

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: