User name at login screen -- visible or not? SOLVED

New to SolydXK? This is the place to start.
Please check the other subforums to see if there's a more suitable place for your question.
UncleSam
Posts: 57
Joined: 16 Apr 2016 20:03

User name at login screen -- visible or not? SOLVED

Postby UncleSam » 13 Jan 2020 19:52

How do I configure KDE to NOT display (for security reasons) my user name at the login dialog box ?

User avatar
bas_otten
Posts: 216
Joined: 19 Oct 2013 12:22
Location: Netherlands

Re: User name at login screen

Postby bas_otten » 13 Jan 2020 21:55

For that you specify a line 'greeter-hide-users=true' in /etc/lightdm/lightdm.conf
Good luck, Bas

User avatar
Arjen Balfoort
Site Admin
Posts: 9506
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: User name at login screen

Postby Arjen Balfoort » 14 Jan 2020 07:53

Note that greeter-hide-users by default is set to false.


SolydXK needs you!
Development | Testing | Translations

UncleSam
Posts: 57
Joined: 16 Apr 2016 20:03

Re: User name at login screen

Postby UncleSam » 15 Jan 2020 18:00

I changed the variable in the file as you suggested, Bas. It worked after a system restart. Thank you, Bas.

Thank you, Arjen for reminding me to document what I changed in /etc/lightdm/lightdm.conf and why.

UncleSam
Posts: 57
Joined: 16 Apr 2016 20:03

Re: User name at login screen -- visible or not? SOLVED

Postby UncleSam » 31 Jan 2020 15:00

Strange!
After reappearance of user names at the login screen this morning, I
looked at /etc/lightdm/lightdm.conf and saw two lines that said

Code: Select all

greeter-hide-users=false
greeter-hide-users=false
which I have since deleted from the file.
The file's modification date/time was dated 1:23am this morning.

I ran #apt-get update && apt-get upgrade
and
#apt autoremove
at around this time. Could one of these commands have added the
two lines?
As you can see, my two lines were still in the file:

Code: Select all

user@solydk1:~$ nl /etc/lightdm/lightdm.conf | grep "greeter-hide-users"
    65  # greeter-hide-users = True to hide the user list
   108  #Jan 15, 2020 changed greeter-hide-users from "false" (default)
   110  greeter-hide-users=true
user@solydk1:~$ wc -l /etc/lightdm/lightdm.conf
171 /etc/lightdm/lightdm.conf
[/code]

User avatar
Arjen Balfoort
Site Admin
Posts: 9506
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: User name at login screen -- visible or not? SOLVED

Postby Arjen Balfoort » 31 Jan 2020 15:30

I hope you did not remove or comment the "greeter-hide-users=false" line. It should be there or the default will get inserted again.
You just need to replace "false" with "true".


SolydXK needs you!
Development | Testing | Translations

UncleSam
Posts: 57
Joined: 16 Apr 2016 20:03

Re: User name at login screen -- visible or not? SOLVED

Postby UncleSam » 01 Feb 2020 00:43

No, I haven't changed /etc/lightdm/lightdm.conf since Jan. 8th.
That is why I called it strange to see two lines
greeter-hide-users=false
appended to it on Jan. 30.
and so asked here whether apt or apt-get might have done it.

However, I just looked at it again and saw,

Code: Select all

sam@solydk1:~$ ls -Fdltr /etc/lightdm/lightdm.conf
-rw-r--r-- 1 root root 7128 Jan 31 09:19 /etc/lightdm/lightdm.conf
so maybe I am wrong. (I often am.) Or ignorant of all processes affecting
this file.
Maybe I am just being paranoid.

Code: Select all

sam@solydk1:~$ nl /etc/lightdm/lightdm.conf | grep "greeter-hide-users"
    65  # greeter-hide-users = True to hide the user list
   108  #Jan 15, 2020 changed greeter-hide-users from "false" (default)
   110  greeter-hide-users=true 
I will post again if I see a user's list with more than zero entries on my log-in dialog box.
Until then, Bon Voyage.
Thanks, Arjen, for reading this.

UncleSam
Posts: 57
Joined: 16 Apr 2016 20:03

Re: User name at login screen -- visible or not? SOLVED

Postby UncleSam » 23 Jun 2020 13:52

This flag keeps getting reset to false about every other month. I don't realize it has been reset until I login the next day and see my full username, first name and last name, displayed in the login dialog box.

User avatar
Arjen Balfoort
Site Admin
Posts: 9506
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: User name at login screen -- visible or not? SOLVED

Postby Arjen Balfoort » 23 Jun 2020 14:33

What if you change the conf file and then make it readable only?


SolydXK needs you!
Development | Testing | Translations

UncleSam
Posts: 57
Joined: 16 Apr 2016 20:03

Re: User name at login screen -- visible or not? SOLVED

Postby UncleSam » 23 Jun 2020 16:16

Great idea! I removed write access for superuser. Now it is read-only. I will report back in a couple months if this works. Unless this breaks something else, in which case I will report back immediately.


Return to “Newbie Questions”

Who is online

Users browsing this forum: No registered users and 7 guests