AddUsersHowto

Differences between revisions 6 and 7
Revision 6 as of 2006-01-24 23:35:37
Size: 1946
Editor: 129
Comment:
Revision 7 as of 2006-01-24 23:48:58
Size: 1904
Editor: S010600131016cf6f
Comment: remove bash and close bracket
Deletions are marked like this. Additions are marked like this.
Line 19: Line 19:
To add a user you must use the {{{sudo}}} command (for an explanation of what that means, see the RootSudo page. To add a user you must use the {{{sudo}}} command (for an explanation of what that means, see the RootSudo page)
Line 24: Line 24:
    bash:~$ sudo adduser <username>     sudo adduser <username>
Line 32: Line 32:
    bash:~$ man adduser     man adduser
Line 38: Line 38:
    bash:~$ sudo addgroup <groupname>     sudo addgroup <groupname>
Line 44: Line 44:
    bash:~$ sudo adduser <username> audio     sudo adduser <username> audio
Line 50: Line 50:
    bash:~$ sudo usermod -G <groupname> <username>     sudo usermod -G <groupname> <username>

How to Add Users

Here we will discuss adding users to your Ubuntu system. When you first install Ubuntu you have to setup one user account. In the future you may wish to set up more accounts for other users or other accounts for yourself. This will be a brief how-to for setting up users.

There are two ways to add a user. You can use the graphical tool, located in Computer > System Configuration > Users and Groups or use the command-line. Doing it graphically is easier, the command-line more powerful, especially if you want to add more than one user.

Graphical Users and Groups tool

Location: Computer > System Configuration > Users and Groups

attachment:UserConfigPic.png

Press + Add User, the window on the left-side will open. The minimum requirements are Username and password. For the Username, do not use spaces, and do use ASCII characters. On the User privileges tab, add privileges that the new user will have access to, such as use audio devices.

attachment:UserConfigPic2.png

Command-line

To add a user you must use the sudo command (for an explanation of what that means, see the RootSudo page)

This is how to add a user.

    sudo adduser <username>

Note: do not use the useradd command.

To see the options for adding a user try the man command.

    man adduser

You might also wish to create a new group for your users.

    sudo addgroup <groupname>

To add a new user to a existing group you would do this:

    sudo adduser <username> audio

To add an existing user to an existing group:

    sudo usermod -G <groupname> <username>

This would add <username> to the audio group.

I hope this page was helpful; if you would like to add to it, feel free.

CategoryDocumentation

AddUsersHowto (last edited 2008-08-06 16:15:02 by localhost)