Linux command: adduser
Revision as of 10:12, 8 April 2015 by Rafahsolis (talk | contribs) (Protected "Linux command: adduser" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
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