Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Just switched from 10.04 to 11.10. I'm wondering about the limited options in the GUI for managing users and groups. Where is the old GUI to change groups, id's, etc. I know that I can do this from cli, that's no problem. But I want this comfortable GUI back.

share|improve this question
add comment

5 Answers 5

up vote 65 down vote accepted

Gnome System Tools for 11.10 & later Ubuntu versions

The old Users and Groups GUI is available by installing from Software Center the gnome-system-tools package

enter image description here

or from a terminal:

sudo apt-get install gnome-system-tools

Search in Dash:

enter image description here

Click and it will run the Users and Groups applet:

enter image description here

share|improve this answer
5  
Thanks foss. Solved having to go to console. –  Luis Alvarado Nov 2 '11 at 16:48
    
Thanks a lot buddy!!! It saved my time! –  ihrupin Mar 17 at 13:12
add comment

This answer was merged from a question about how to make a user an administrator; while it does answer this more general question, making administrators is its focus.

Being An Administrator Consists of (Specific) Group Membership

Before actually managing users and groups, if you want to make one or more users administrators, you should know what it means to be an administrator in Ubuntu.

An administrator can run commands as root, in two ways:

This power is conferred to users by membership in the appropriate group.

  • In Ubuntu 11.10 and earlier, administrators are members of the admin group.
  • In Ubuntu 12.04 LTS and later, administrators are members of the sudo group.

There are a couple complexities:

  • The sudo group exists in 11.10 and earlier, it's just not used (by default).
  • The admin group doesn't exist on a freshly installed 12.04 system, but it continues to exist (and its members continue to have administrative abilities) on Ubuntu 12.04 systems upgraded from previous releases.

Therefore, here are some reasonable guidelines for how to make a user an administrator in Ubuntu:

  • If you're running Ubuntu 11.10 or earlier, just put the user in the admin group.
  • If you're running Ubuntu 12.04 LTS (or later), put the user in the sudo group, and if the admin group exists, put the user there too.

You have a few options for managing users and groups.

Install and Run the Classic "Users and Groups" Utility

You'll perhaps be happy to hear that (as John S Gruber has pointed out) the old GUI utility for managing users and groups still exists, though you may have to install the package that provides it. I'm talking about the utility that was invoked in menu-driven interfaces via System > Administration > Users and Groups.

This classic utility is provided by the gnome-system-tools Install gnome-system-tools package, which you can install in the Software Center by clicking that link, or in the Terminal by running these commands:

sudo apt-get update
sudo apt-get install gnome-system-tools

The name of the Users and Groups utility is users-admin, so you can find it normally in your graphical interface, or you can run it manually with that name. That is, here are some ways to run the utility once it's installed:

  • Press Alt+F2. Type users-admin. Press Enter.
  • Press Ctrl+Alt+T. Type users-admin. Press Enter.
  • In Unity, start to type users and groups. So long as gnome-system-tools is installed, the Users and Groups utility will come up.
  • If you use a desktop environment that has menus, find Users and Groups in the Administration, System Tools, or Preferences menu.

Users Settings window (users-admin in Ubuntu 12.04)

But don't run sudo user-admin, or even gksu/gksudo/kdesudo users-admin. users-admin will actually not work when run as root. (It is designed to use PolicyKit rather than sudo to gain the necessary privileges to create and modify users and groups on the system.)

users-admin authenticating via PolicyKit

On some Ubuntu variants, such as Lubuntu, users-admin is already installed and is the standard way to manage users and groups.

Use GNOME Control Center to Manage Users and Groups

The new, standard way to manage users and groups is with the GNOME Control Center, accessible from the session menu. Click the gear icon in the top panel (at the upper-right corner of the screen), and click System Settings....

indicator-session menu showing "System Settings..." item, for opening GNOME Control Center

In System Settings (also called the GNOME Control Center), click User Accounts (it's near the bottom, in the "System" category).

System Settings (GNOME Control Center), showing mouse pointer over "User Accounts"

You can then manage users, including what groups they're members of, with this part of the GNOME Control Center.

User Accounts window of GNOME Control Center

Use Command-Line Utilities

If you...

  • are running Ubuntu Server, or some other Ubuntu system with no GUI, or
  • just prefer to use command-line utilities, or
  • are running some weird desktop environment that doesn't come with a graphical utility to manage users and groups

...then you can manage users and groups from the command-line.

The recommended utility for adding a user from the command-line (in Ubuntu, and also in Debian and other Debian-based OSes) is adduser. The simplest way to use it is just to run:

sudo adduser --add_extra_groups username
  • You may be prompted for your password first (that's how sudo works).
  • Then you're asked a series of questions. Besides their real name and password, if you don't have an answer to any of the questions, just press Enter.
  • The user is made a member of the default groups for user accounts that do represent real human beings, but do not have administrative powers.

screenshot showing adduser, run in a desktop environment that doesn't provide user management utilities of its own
Click here to read as text.

To make a user an administrator from the command-line, just add them to the appropriate group. usermod is an excellent utility for this purpose. The -G flag means you're specifying one or more new groups, and the -a flag means you're adding these to whatever groups the user is already a member of, rather than replacing the old list of groups with a new one.

Depending on what version of Ubuntu you're running (as detailed above), use one or both of these commands:

sudo usermod -a -G sudo username
sudo usermod -a -G admin username
share|improve this answer
    
I've created an account to upvote your answer. You made my life much easier (using a fork of ubuntu, Mint) –  Jeremy Dicaire Nov 11 '13 at 20:49
add comment

You can edit users by going under System Settings (either search for it in the Dash, or select it as the first entry under the power cog) and selecting User Accounts.

System Settings screenshot with User Accounts highlighted

Alternatively, you may search the Ubuntu Software Center or use apt-get to install the gnome-system-tools package, then run users-admin afterwards to get to working with groups (source).

share|improve this answer
    
That "User Accounts" seems so limited. I need to add an account to a user-group. There existed "Users and Groups" before. I may do this job in terminal, but wanted to know where the menu is. –  FEQ Oct 21 '11 at 4:56
1  
@Chang AFAIK that menu was taken out of the default install. But now that I know better what you're looking for, I did a quick search and updated my answer. Let me know if this looks more like what you want. –  WarriorIng64 Oct 21 '11 at 5:13
    
I don't know how limited this new "User Accounts" Ubuntu GUI is (I'm still using 10.10), but I can understand why they removed Gnome's "Users and Groups": the groups listed in the checkboxes (in Advanced Settings) are hardcoded and terribly outdated. Not to mention the selection for an "Administrator User" is quite different from Ubuntu's defaults for the first user. –  MestreLion Apr 24 '12 at 0:06
    
The "user accounts" is just plain WRONG ubuntu has dumbed down the settings pannel way to far so users wont hurt them selves. If they are going to make a control pannel for dummies they need to add in a switch or other simple method for power users to get access to the normal controls with out having to install 100 normal and expected default tools –  Kendrick Nov 11 '12 at 18:19
    
@Kendrick AFAIK the GNOME project should be blamed, not Ubuntu. Ubuntu just inherits whatever GNOME decides upstream, with a few exceptions. This is just one of the changes that was necessary to make the transition to GNOME 3. –  WarriorIng64 Nov 11 '12 at 19:38
show 2 more comments

For adding and deleting standard and administrative users I'd recommend that you use the standard tool Alex mentioned in his helpful answer. You will need to unlock the program and then click on the "+" on the bottom left. You can also administer passwords with this tool.

If you need to add groups or add users to groups you can install the gnome-system-toolsInstall gnome-system-tools package.

After adding that you can find the additional settings by searching the dash for Users and Groups

share|improve this answer
add comment

You can add both standard and administrator users using the settings->user accounts pane. You can set the password after the account has been added.

If you need more fine-grained control over which groups an account is in you will need to use the usermod program.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.