Create a new user account on your GNU/Linux machine: Difference between revisions

From XPUB & Lens-Based wiki
(Created page with "Easy as pie. replace <username> with the login you want to create, then follow the instructions. <source lang="bash"> sudo adduser <username> </source> To add an existing user ...")
 
No edit summary
 
Line 6: Line 6:
</source>
</source>


To add an existing user to an existing group:
Maybe you need this new user or yourself to be in a specific group, in that case to add an existing user to an existing group:


<source lang="bash">
<source lang="bash">
sudo adduser <username> <groupname>
sudo adduser <username> <groupname>
</source>
</source>
'''Note:''' creating a user is effective immediately but adding an existing user to a new group will only be effective if the added user fully log out and log back in from the console (in case the existing user is already loged in of course....)


questions? RTFM :D
questions? RTFM :D

Latest revision as of 12:16, 15 January 2011

Easy as pie. replace <username> with the login you want to create, then follow the instructions.

sudo adduser <username>

Maybe you need this new user or yourself to be in a specific group, in that case to add an existing user to an existing group:

sudo adduser <username> <groupname>

Note: creating a user is effective immediately but adding an existing user to a new group will only be effective if the added user fully log out and log back in from the console (in case the existing user is already loged in of course....)

questions? RTFM :D