You are not logged in.
It would not be comfortable for the system to remember the username so that it does not have to be written at all.
In :
/usr/share/lightdm/lightdm.conf.d/01_debian.conf
Add :
[SeatDefaults]
greeter-hide-users=false
Last edited by johnraff (2017-11-05 05:51:08)
lenovo thinkpad t420s
Offline
Tracking the issue here https://github.com/BunsenLabs/bunsen-configs/issues/59.
I've posted a response there.
No, he can't sleep on the floor. What do you think I'm yelling for?!!!
Offline
I prefer the Debian default, ie, to *not* fill the username field by default.
Offline
I think i remember a similar discussion on this and that it made for better security to have the greeter hide usernames.
Offline
Do we have a great sed/awk/whatever line that would toggle:
a. show username (on/off)
b. autologin (on/off)
?
Offline
sed -i '
/\[SeatDefaults\]/{
:1
n
/greeter-hide-users=/! b1
s/#\+//
t2
:2
s/=false/=true/
t
s/=true/=false/
}' /usr/share/lightdm/lightdm.conf.d/01_debian.conf
Last edited by Az (2017-11-04 08:43:24)
Offline
Security was the reason we decided the way we did at the time, plus it's what Debian sets as the default behavior.
However, this is not the first time this suggestion has been made and we are changing our lightdm-greeter configuration. Thanks, @hathor, for raising this issue again.
Discussion and the change commit of this is at the GitHub thread...
https://github.com/BunsenLabs/bunsen-configs/issues/59
No, he can't sleep on the floor. What do you think I'm yelling for?!!!
Offline
The user should set the behavior if needed while the default of hiding the username is a good thing from a security standpoint.
Real Men Use Linux
Offline
Would it be possible for bl-welcome to ask about this?
Offline
@Az, not sure what that does, but looks awesome.
Offline
@Az, not sure what that does
It toggles the user display, as requested.
looks awesome
+1
@{DeepDayze,jerk-o}: the decision has already been made and the default has been changed (sadly).
Use Az's `sed` invocation to restore the sane setting
Offline
Use Az's `sed` invocation to restore the sane setting
That won't work I'm afraid because the BL file 50_bunsen.conf takes higher priority than 01_debian.conf. Edit the BL file, or better, add your own user file 90_user.conf.
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
Offline
^Yes. The user can add any personal tweaks to a file in /usr/share/lightdm/lightdm.conf.d and they will remain even after upgrades of grub or bunsen-configs, as long as the filename starts with a highish number like 90. That's why 01_debian.conf is numbered low, and 50_bunsen.conf a bit higher, but still allowing users to take priority over that. (Edits to 01_debian.conf would be wiped out by package upgrades.)
Those .d directories are very convenient.
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline