You are not logged in.
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
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
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)
Offline
@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