Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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 need to run the web browser with another user but I don't want the user to be shown at the login screen. How can I create a user that will not be listed on the login screen? GNOME/Scientific Linux 6.3.

share|improve this question
Read about gdm setup. Or simply uninstall gdm and use xdm. – Eddy_Em Feb 12 '13 at 7:34
See superuser.com/q/77617/87552 – N.N. Feb 12 '13 at 7:50
@Eddy_Em it's probably the worst solution - unistalling anything. – Mateusz Jagiełło Feb 12 '13 at 8:45
On Fedora 20 with Gnome 3 for me greeter solution didn't work. What worked is giving UID lower than 50 to the needed users. I actually tried UID 23 and 24. – Ilia Rostovtsev Dec 25 '13 at 8:58
up vote 4 down vote accepted

Edit /etc/gdm/custom.conf and add or change the Exclude directive in the [greeter] section:


Users alice and bob won't be shown on the list at the login screen but can still log in by typing their name and password (if they have a password).

See more details in How to hide users from the GDM login screen? (it's mostly distribution-independent — some details might change, for example files may located in different places, and the threshold for system users is 500 on most Red Hat derivatives but 1000 on most Debian derivatives).

share|improve this answer
For some configurations, the file to edit is /etc/mdm/mdm.conf. – WBT Feb 20 at 18:51

Create system user account - with UID less than 1000. Accounts with UID less than 1000 are hidden in gdm and probably others display managers.

You can create system account by running useradd with -r flag.

share|improve this answer
-r -> Create a system account with a UID less than 500 and without a home directory. – gasko peter Feb 12 '13 at 10:57
I need to run the webbrowser with another user but I don't want the user to be shown at the login screen. – gasko peter Feb 12 '13 at 10:57
 gconftool-2 -t bool -s /apps/gdm/simple-greeter/disable_user_list 1

maybe this will be the solution, but I need to test it. Thanks!

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.