Linux command: adduser
Revision as of 10:11, 8 April 2015 by Rafahsolis (talk | contribs) (Created page with "Adding users to Linux<br> adding a user to the sistem:<br /> sudo adduser <username> [<group>]<br /> To add a super user to the sistem:<br /> *sudo adduser <username> sudo A...")
Adding users to Linux
adding a user to the sistem:
sudo adduser <username> [<group>]
To add a super user to the sistem:
- sudo adduser <username> sudo
Another option is:
adduser USERNAME
usermod -a -G sudo USERNAME
usermod -a -G adm,cdrom,sudo,dip,plugdev,lpadmin,sambashare,libvirtd USERNAME
To verify the groups that a user is part of:
groups USERNAME