You are not logged in.

#1 2014-01-14 17:19:56

hsz
Member
Registered: 2009-09-25
Posts: 30

[SOLVED] Hide an user from other users in GDM3

I would like to create a new user that should be not visible for other users - for example like root.
When user is logging with GDM, he sees other regular users, but no root, etc. How can I achieve it ?
Also I would like to prevent /home/hidden_user directory - others can obtain its existance by it.

Last edited by hsz (2014-01-15 08:42:16)

Offline

#2 2014-01-14 19:51:34

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,783
Website

Re: [SOLVED] Hide an user from other users in GDM3

I think gdm ignores uids <1000. You can put a user's homedir anywhere you want.

Edit: less than, not more than. Oops.

Last edited by WorMzy (2014-01-14 19:54:33)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2014-01-14 20:14:16

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Hide an user from other users in GDM3

You can also hide users from GDM by editing /etc/gdm/custom.conf and adding the required user to the Exclude directive.

Bear in mind that hiding a user on the login screen and having their home folder in a non-standard location won't fully hide them. Any user can always find all users of a system by doing a simple...

cat /etc/passwd

Last edited by Slithery (2014-01-14 21:09:06)


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#4 2014-01-15 08:41:46

hsz
Member
Registered: 2009-09-25
Posts: 30

Re: [SOLVED] Hide an user from other users in GDM3

@slithery I know that /etc/passwd will contain this information, but I can swallow it.
@WorMzy - Thank you ! Indeed changing uid to 999 hid user from the gdm3 list.

Offline

Board footer

Powered by FluxBB