You are not logged in.

#1 2011-05-01 10:18:48

Nepherte
Member
From: Singapore
Registered: 2008-09-09
Posts: 427

Hide users in GDM

Before gnome3, gdm would only show enabled users. After the upgrade, it also shows disabled users (disabled shell, etc.).

I tryed editing /etc/gdm/custom.conf:

[greeter]
Exclude=user1,user2,user3

but gdm didn't pick up on that. Is there any way I can still hide disabled users in gdm3?

Offline

#2 2011-05-04 14:43:41

Nepherte
Member
From: Singapore
Registered: 2008-09-09
Posts: 427

Re: Hide users in GDM

Nobody knows if it is possibe to hide disabled users in gdm?

Offline

#3 2011-05-04 15:32:34

pezz
Member
From: Geelong, Australia
Registered: 2010-05-23
Posts: 104

Re: Hide users in GDM

Somebody knows, they just don't want to tell you (I'd love to know as well).

It's kind of like the rest of GNOME 3 - do it our way, or Google for the obscure answer that allows you to customise.

Offline

#4 2011-06-29 19:04:15

[knap]
Member
Registered: 2007-12-29
Posts: 37

Re: Hide users in GDM

Sorry for the thread digging, I found a solution here:

http://ubuntuforums.org/showthread.php?t=1508887

If you assign a UID (User ID) < 1000 to the user in want to "hide", then isn't show in gdm.

(You can change the UID of a given user, using the command usermod)

Last edited by [knap] (2011-06-29 19:05:30)

Offline

#5 2012-06-30 16:16:10

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: Hide users in GDM

The id mod is a dirty hack.  I too have spend some time digging around in google but have yet to find a solution from within the gdm files.  I don't feel this post is a necrobump since this is a complementary issue.

Does anyone have a soltion that does not involve modifying a UID?

Offline

#6 2012-06-30 17:32:11

satanselbow
Member
Registered: 2011-06-15
Posts: 538

Re: Hide users in GDM

Not tried - and immediately unwilling to as working towards full systemd and could do with out any other breakage at the mo big_smile - but this looks promising? The "Exclude" pair in the greeter section particularly?

http://library.gnome.org/admin/gdm/stab … tersection

*** I appreciate that key gets a mention in the very 1st post - but the documentation hints towards a slighty different usage for it to work wink ***

Last edited by satanselbow (2012-06-30 17:33:13)

Offline

#7 2012-10-28 11:24:00

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: Hide users in GDM

Any updates?  Still unable to do this.

Offline

#8 2012-10-28 11:50:27

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Hide users in GDM

graysky wrote:

Any updates?  Still unable to do this.

look here: https://bugzilla.gnome.org/show_bug.cgi?id=660660


Give what you have. To someone, it may be better than you dare to think.

Offline

#9 2014-04-30 20:30:26

hast0011
Member
From: South Germany
Registered: 2014-04-29
Posts: 11

Re: Hide users in GDM

It´s late but I found this and it works for me. Maybe it helps others.

Hide user from login list
The users for the gdm user list are gathered by accountsservice. It will automatically hide system users (UID < 1000). To hide ordinary users from the login list create or edit a file named after the user to hide in /var/lib/AccountsService/users/ to contain at least:

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

[User]
SystemAccount=true

Offline

#10 2014-05-05 17:43:37

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Hide users in GDM

thanks hast0011 for the info. I will go ahead and close this thread now to avoid necrobumping.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

Board footer

Powered by FluxBB