Tuesday, November 20, 2007

Adding Linux Users + Assigning Groups

To add users:

# adduser username

or

$ sudo adduser username

To add an existing user to a group (eg. admin under Ubuntu or wheel under Gentoo):

# usermod -a -G groupname username

or

$ sudo usermod -a -G groupname username

No comments: