You are not logged in.

#1 2017-11-01 07:29:50

hathor
Member
From: Barcelona
Registered: 2017-09-30
Posts: 59
Website

[DONE] remember name login

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

#2 2017-11-01 21:00:21

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,036
Website

Re: [DONE] remember name login

earlybird wrote:

I've posted a response there.


No, he can't sleep on the floor. What do you think I'm yelling for?!!!

Offline

#3 2017-11-02 06:57:36

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,067
Website

Re: [DONE] remember name login

I prefer the Debian default, ie, to *not* fill the username field by default.

Offline

#4 2017-11-02 08:52:28

Steve
Member
Registered: 2017-01-03
Posts: 642

Re: [DONE] remember name login

I think i remember a similar discussion on this and that it made for better security to have the greeter hide usernames.

Offline

#5 2017-11-02 09:18:17

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,740

Re: [DONE] remember name login

Do we have a great sed/awk/whatever line that would toggle:
a. show username (on/off)
b. autologin (on/off)
?

Offline

#6 2017-11-04 08:34:55

Az
New Member
Registered: 2016-11-02
Posts: 1

Re: [DONE] remember name login

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

#7 2017-11-05 04:23:33

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,036
Website

Re: [DONE] remember name login

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

#8 2017-11-06 03:01:46

DeepDayze
Like sands through an hourglass...
From: In Linux Land
Registered: 2017-05-28
Posts: 1,897

Re: [DONE] remember name login

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

#9 2017-11-06 06:11:31

jerk-o
Member
Registered: 2017-08-27
Posts: 18

Re: [DONE] remember name login

Would it be possible for bl-welcome to ask about this?

Offline

#10 2017-11-06 06:34:02

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,740

Re: [DONE] remember name login

@Az, not sure what that does, but looks awesome.

Offline

#11 2017-11-06 07:05:14

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,067
Website

Re: [DONE] remember name login

brontosaurusrex wrote:

@Az, not sure what that does

It toggles the user display, as requested.

looks awesome

+1 cool

@{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 wink

Offline

#12 2017-11-06 10:02:35

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,558
Website

Re: [DONE] remember name login

Head_on_a_Stick wrote:

Use Az's `sed` invocation to restore the sane setting wink

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 )

Introduction to the Bunsenlabs Boron Desktop

Offline

#13 2017-11-06 17:57:19

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,067
Website

Re: [DONE] remember name login

^ well, that's convenient... roll

Offline

#14 2017-11-07 02:18:06

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,558
Website

Re: [DONE] remember name login

^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. smile


...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 )

Introduction to the Bunsenlabs Boron Desktop

Offline

Board footer

Powered by FluxBB