Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am new to Ubuntu.

On login only my single user with guest is displayed. Is it possible to show multiple user names including admin user?

sudo sh -c 'echo "greeter-show-manual-login=true" >> /etc/lightdm/lightdm.conf'

Can you explain the above code usage?

enter image description here

share|improve this question
up vote 7 down vote accepted

If you go to System Settings - or type "user" in the dash - you should see an icon there for user settings.

enter image description here

If you are the administrator, which you most likely are unless you're using Ubuntu on a network, say at work, your own login is enough. Click on that icon to open the follwoing window:

enter image description here

Click on the Unlock symbol in the top right corner to enter your credentials (administrator rights required):

enter image description here

Then click on the + symbol on the bottom left side to enter a new user as this:

enter image description here

Choose the account type "Standard" or "Administrator".

The account will be disabled until a password was given. To do so click on "Account disabled" next to password:

enter image description here

Then enter a password for the new account:

enter image description here

Log out and you will have the choice now to log in as that user.

Normally you will be the admin user and since Ubuntu doesn't give you root but rather allows you to run with root permissions via sudo, it isn't meaningful to have root as a user to log in.

You can create a password for root. Not sure if that's worthwhile, as Ubuntu specifically avoids that path.

share|improve this answer

Your Answer


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.