November 16, 2009 · General · Email This Post

Sponsored Link
This tutorial will explain how to Add,Modify and Delete Users,Groups in Ubuntu.Linux users can login to the system and use with the provided previliges. Linux groups are a mechanism to manage a collection of computer system users. All Linux users have a user ID and a group ID and a unique numerical identification number called a userid (UID) and a groupid (GID) respectively. Groups can be assigned to logically tie users together for a common security, privilege and access purpose.

Add,Modify and Delete Users and Groups in Ubuntu

You can start Users Administration Tool from System--->Administration--->Users and groups

1

Use the following command from terminal

users-admin

Once it opens you should see similar to the following screen here you need to click on lock icon to do any changes

2

Now you will be prompted for the administrator password click on Authenticate. This is necessary because the changes done with this tool will affect the whole system.

3

Add a new user

After entering the administrator password in the above screen, the following window is displayed.Press the Add User button in the main dialogue

4

A new window will appear asking for the new user data. For adding a new user, you must provide at least the username and password (automatically generated, or by hand)

5

One more important field is profile here you can select what permission you want to provide this new user

6

7

Under User Privileges tab you can give what new user can do on this system

8

In Advanced tab you can provide  home directory,shell used,Main group, user ID and a list of the secondary groups for the user, shell used, home directory and user ID are automatically guessed depending on the selected profile.

9

Once you created new user you should see similar to the following screen

10

Modify an existing user

If you want to modify an existing user select the user you want to modify and press the Properties button

11

A window similar to the following will appear with all the user data, allowing you to modify them.

12

Delete an existing user

If you want to delete an existing user or users select the user or users that you want to delete and press the Delete button in the Users tab. Due to the importance of this data, you will be asked for confirmation for every user you want to delete.For security reasons, the home directory of the deleted users will not be deleted  so you can delete from home directory

13

Add a new group

If you want tp add a new group click on Manage groups

14

Now you should see similar to the following screen here click on Add Group button

15

A new window will appear asking for the new group data. For adding a new group, you must provide at least the group name and the group ID. Optionally you can specify the users that will belong to this group click on ok

16

Once added you should see your group similar to the following screen

17

Modify an existing group

Now select the group you want to modify in the groups dialogue and press the Properties button.

18

A window will appear with the group's data allowing you to modify it.

19

Delete an existing group

Select the group or groups that you want to delete in the groups dialogue and press the Delete button in the Groups tab. Due to the importance of this data, you will be asked for confirmation for every group you want to delete.

20

Sponsored Link

Incoming search terms:

Related posts

8 Comments to “Add,Modify and Delete Users and Groups in Ubuntu (Using GUI)”

  1. Atis says:

    Doe’s not working in Karmic. I can modify, delete another account, but there’s no changes after reboot.

    (Sorry for my english)

    [Reply]

  2. admin says:

    @Atis

    First you need to login with required permissions so that you can delete,modify user accounts

    [Reply]

  3. Moh says:

    Hi,
    so how to share a folder (music, pictures) with the other user(s) on the same machine? does it have to be on the same group or how?

    Many thanks

    [Reply]

    admin Reply:

    @Moh
    Users should be in the same group with the required permissions for that folder

    [Reply]

  4. ari says:

    i have logged in root account but i still can’t delete user account. it’s like disappear in a list but after reboot it’s nothing happen, account still in this place

    [Reply]

  5. redkirk says:

    If you use System > Administration > User and Group to delete a user in Karmic Koala (Ubuntu 9.10), the user will be deleted but the /home/username folder will still be there.

    I used the following to remove the /home/username folder:

    Recreated the user account in Terminal.
    # sudo adduser username

    After account was created I deleted the account in TERMINAL:
    # sudo deluser –remove-home username

    [Reply]

  6. JJohn says:

    I configured automatic login to guest account but deleted it later and now cant login to my other account coz ubuntu is looking for missing account at startup.

    [Reply]

  7. Roger says:

    I only thing i see in System—>Administration is Login Screen and System Monitor…

    [Reply]

Leave a Reply