Users without GDM Login

Christofer C. Bell christofer.c.bell at gmail.com
Mon Jul 26 08:03:01 UTC 2010


On Mon, Jul 26, 2010 at 2:13 AM, Jeevani W. <jeevw19 at yahoo.co.uk> wrote:
>
> Hi,
>
> I need to create a number of internal Linux users for admin purposes.
>
> I do not want these users to appear on the initial console login page after Fedora boots up, as users who can attempt to log in, and I do not want to allow these users to log in directly.
>
> I merely want these users to be accessed via su, like the root user.
>
> How can I configure this please?


 To remove these users from the greeter window, you can edit
/etc/gdm/gdm.schema and find the following section:

    <schema>
      <key>greeter/Exclude</key>
      <signature>s</signature>
      <default>bin,root,daemon,adm,lp,sync,shutdown,halt,mail,news,uucp,operato
r,nobody,nobody4,noaccess,postgres,pvm,rpm,nfsnobody,pcap</default>
    </schema>

Simply add the usernames of the people you want to exclude there,
separated by commas.

Alternatively, right under that, there is another section where you
can disable the list entirely:

    <schema>
      <key>greeter/IncludeAll</key>
      <signature>b</signature>
      <default>true</default>
    </schema>

Change the 'true' value to 'false' and any user sitting at the console
will be forced to actually type their username to login.

After making changes to this file, you will need to restart gdm.  You
can do this very easily if logged in remotely:

# init 3
(count to 10)
# init 5

Note that if you keep the list, each new user you add will have to
have their username added to the exclusion list in that file to be
removed from the list you see in the greeter.

Good luck!

--
Chris


More information about the users mailing list