View previous topic :: View next topic |
Author |
Message |
costel78 Guru
Joined: 20 Apr 2007 Posts: 402
|
Posted: Mon May 23, 2011 5:49 pm Post subject: gdm3 Exclude some users |
|
|
Hello,
I'm using gnome 3.0 from gnome overlay and I want to exclude some users from gdm login list.
Let's name user1 and user2 unwanted users, from now on.
What I already did:
1. I tried via recomanded way. In /etc/gdm/custom.conf:
Code: | [greeter]
Exclude=user1, user2 |
2. I tried to eliminate them directly from /usr/share/gdm/gdm.schemas
Code: | <schema>
<key>greeter/Exclude</key>
<signature>s</signature>
<default>bin,root,daemon,adm,lp,sync,shutdown,halt,mail,news,uucp,operator,nobody,nobody4,noaccess,postgres,pvm,rpm,nfsnobody,pcap,user1,user2</default>
</schema>
|
3. Code: | usermod -s /sbin/nologin user1
usermod -s /sbin/nologin user2 |
But... the users are still in the list.
I have no idea what else to try to acomplish my goal. Any hints, please ? _________________ Sorry for my English. I'm still learning this language. |
|
Back to top |
|
|
monsm Guru
Joined: 26 Sep 2007 Posts: 467 Location: London, UK
|
Posted: Sun Jun 12, 2011 5:57 pm Post subject: |
|
|
Hi,
Sorry, I can't help with this. I was interested if you got anywhere solving it. I have a similar issue and actually being able to make changes to the gdm3 config at all. E.g. I wanted to change the background (in addition to excluding some users)
Mons |
|
Back to top |
|
|
costel78 Guru
Joined: 20 Apr 2007 Posts: 402
|
Posted: Sun Jun 12, 2011 6:39 pm Post subject: |
|
|
I can't remove any users from gdm list. I patiently decided to wait for gnome 3.2. _________________ Sorry for my English. I'm still learning this language. |
|
Back to top |
|
|
monsm Guru
Joined: 26 Sep 2007 Posts: 467 Location: London, UK
|
Posted: Tue Jun 14, 2011 6:39 pm Post subject: |
|
|
I will stick with gdm3. A bit strange it takes so long getting an updated gsm. Most other gnome components get updated all the time. Haven't actually had any problems with this one, just want to be able to configure the damn thing...
Mons |
|
Back to top |
|
|
monsm Guru
Joined: 26 Sep 2007 Posts: 467 Location: London, UK
|
Posted: Wed Jul 13, 2011 7:15 pm Post subject: |
|
|
Hi, still there Costel?
I have solved both problems finally. The answer is on the arch forum in this post.
Changing the background using gsettings, as in the first part of that post, didn't work for me (gdm-3.0.4). The second version worked (copying these things into the /etc/gdm/autostart/LoginWindow). I could then change the background and many other settings.
The part of hiding some users, I solved a different route. I remember seeing somewhere that users with a UID number below 500 will not be shown login list. So I changed the user I wanted to hide to 499, and finally it disappeared from the login. I found this on how to do that: http://it.toolbox.com/blogs/locutus/how-to-change-a-users-uid-and-gid-26368 Also remember to change the owner of that users files (e.g. using chown). I had to run groupmod before usermod (usermod throws an error if the group doesn't exist.
Mons |
|
Back to top |
|
|
Nitro_146 Apprentice
Joined: 02 Mar 2005 Posts: 221 Location: Digne les bains, France
|
Posted: Tue Jul 09, 2013 9:03 pm Post subject: |
|
|
Hi,
I was facing the same problem, and was not able to remove only some users. Nevertheless I found out here a solution to remove the user list.
I copy it in case someone would be interested :
Quote: | As root, create and edit a file e.g. "/etc/dconf/db/gdm.d/01-local-settings". Minimally, it should contain:
###
# local system-wide customizations
[org/gnome/login-screen]
disable-user-list=true
###
and then run "dconf update". |
Hope this help _________________ Linux, cause booting is for adding new hardware |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|