Ask Your Question
1

Fedora 20: Hide specific users from login screen

asked 2013-12-25 02:31:43 -0500

Ilia Rostovtsev gravatar image

updated 2014-09-28 17:43:45 -0500

mether gravatar image

I tried different methods but couldn't find settings, that would work and let me hide specific users from login screen. Also would be fine to hide all users (manually created) with UID/GID lower than 1000!

How can I do it?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2013-12-25 02:55:30 -0500

Ilia Rostovtsev gravatar image

I managed to achieve what I wanted by giving UID/GID, 23 and 24 to the needed users.

I think by default everything that is lower than 100 is hidden. Editing /etc/gdm/custom.conf didn't work for me.

This solution has worked fine for me!

edit flag offensive delete link more

Comments

1

I confirm that the solutions works. Actually, it's any user whose UID is less than 1000 that is not shown (GID may be whatever you want). Thanks.

gsdefender gravatar imagegsdefender ( 2014-08-12 07:21:02 -0500 )edit
1

answered 2014-08-12 17:38:06 -0500

chriswhat21 gravatar image

updated 2014-08-12 17:38:56 -0500

According to archlinux wiki, if you open

/var/lib/AccountsService/users/<username>

and add/change this line

[User]
SystemAccount=true

it should hide the user from GDM. I just tested and it works here on Fedora 20. Should be the same as changing the UID to < 1000, without changing file ownership.

edit flag offensive delete link more

Comments

Confirmed, it works on Fedora 20. I think it is a better solution than managing UID/GID.

riddler gravatar imageriddler ( 2014-08-26 12:31:21 -0500 )edit

Works on Fedora 22 too :-)

PiotrAF gravatar imagePiotrAF ( 2015-08-31 08:04:23 -0500 )edit

tks @chriswhat21, it works on Fedora 27

bfurtado gravatar imagebfurtado ( 2018-02-09 12:58:00 -0500 )edit

Question Tools

Stats

Asked: 2013-12-25 02:31:43 -0500

Seen: 3,526 times

Last updated: Aug 12 '14