Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

gdm3 Exclude some users

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
costel78
Guru
Guru
Posts: 416
Joined: Fri Apr 20, 2007 6:17 pm

gdm3 Exclude some users

  • Quote

Post by costel78 » Mon May 23, 2011 5:49 pm

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: Select all

[greeter]
Exclude=user1, user2
2. I tried to eliminate them directly from /usr/share/gdm/gdm.schemas

Code: Select all

    <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: Select all

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 ?
Top
monsm
Guru
Guru
User avatar
Posts: 467
Joined: Wed Sep 26, 2007 1:27 pm
Location: London, UK

  • Quote

Post by monsm » Sun Jun 12, 2011 5:57 pm

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
Top
costel78
Guru
Guru
Posts: 416
Joined: Fri Apr 20, 2007 6:17 pm

  • Quote

Post by costel78 » Sun Jun 12, 2011 6:39 pm

I can't remove any users from gdm list. I patiently decided to wait for gnome 3.2.
Top
monsm
Guru
Guru
User avatar
Posts: 467
Joined: Wed Sep 26, 2007 1:27 pm
Location: London, UK

  • Quote

Post by monsm » Tue Jun 14, 2011 6:39 pm

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
Top
monsm
Guru
Guru
User avatar
Posts: 467
Joined: Wed Sep 26, 2007 1:27 pm
Location: London, UK

  • Quote

Post by monsm » Wed Jul 13, 2011 7:15 pm

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 ... -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
Top
Nitro_146
Apprentice
Apprentice
User avatar
Posts: 221
Joined: Wed Mar 02, 2005 8:34 pm
Location: Digne les bains, France
Contact:
Contact Nitro_146
Website

  • Quote

Post by Nitro_146 » Tue Jul 09, 2013 9:03 pm

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 :
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
Top
Post Reply

6 posts • Page 1 of 1

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic