Bug 19536 - GDM refuse to login users with no password
Summary: GDM refuse to login users with no password
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: GNOME maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-05 13:36 CEST by Morgan Leijström
Modified: 2021-07-03 21:10 CEST (History)
11 users (show)

See Also:
Source RPM: gdm-3.22.0-2.mga6.src.rpm, pam?
CVE:
Status comment:


Attachments

Description Morgan Leijström 2016-10-05 13:36:46 CEST
Description of problem:
GDM do not even enable the login button until something is entered in the password field.

Mageia have traditionally always supported empty passwords.

Not solving this would cause problems when upgrading -> i set severity = Major
Morgan Leijström 2016-10-05 13:41:29 CEST

CC: (none) => olav, thierry.vignaud

Comment 1 Thierry Vignaud 2016-10-05 14:47:42 CEST
It works smoothly for me as of gdm-3.22.0-2.mga6
It doesn't ask for password for such a user

Severity: major => normal
Keywords: (none) => NEEDINFO

Comment 2 Morgan Leijström 2016-10-05 16:37:49 CEST
Interesting:
Yes, for a user that was created during install with no password, gdm do not even ask - it starts the DE directly when i click the user icon.

BUT for a user without password created using MCC, it stubbornly wants a password.

- try to create a fresh user using mcc withour pwd, and try log in that user!

Interestingly, this is the same problem and difference the Plasma screen locker shows, so maybe same cause?

Bug 19318 - Plasma screen locker fail with empty passwords
Comment 3 Thierry Vignaud 2016-10-05 17:01:09 CEST
This works fine for a user created with adduser and manually emptying the password entry in /etc/shadow (which is not supported by all apps)
Comment 4 Morgan Leijström 2016-10-06 00:37:22 CEST
I just realised GDM have another problem with passwordless users: they can not select DE!

To select DE from GDM, user normally clicks his icon, and then appear the password field and login button, and next to login button there is a tiny cogwheel-like button that is used to select DE.

But the user that works without password (the user who was created during install) when he clicking his icon a DE is started immediately without chance to choose!

I wonder if this bug is in our configuration, GDM imoplementation, or GDM design flaw...?


BTW, GDM fail to launch Plasma for any user; i get that message popup about dbus.
Comment 5 Olav Vitters 2016-10-06 00:53:21 CEST
(In reply to Morgan Leijström from comment #4)
> I just realised GDM have another problem with passwordless users: they can
> not select DE!

That's as per design and it's not going to change.
Comment 6 Morgan Leijström 2016-10-06 00:55:39 CEST
OK good to know.
Curiously: *how* do user select DE then?
Comment 7 Thierry Vignaud 2016-10-06 07:31:33 CEST
They never were able to
Comment 8 Morgan Leijström 2016-10-06 08:41:29 CEST
Pour souls ;)
Workaround is of course to have every user use password
( Seem a bit unneccesary though on a one user system with encrypted drive or childrens play computer... )
I apply that for now as gdm is visually nice...
Rémi Verschelde 2016-10-06 08:43:00 CEST

CC: (none) => mageia

Comment 9 Marja Van Waes 2016-10-07 11:53:48 CEST
Neoclust mentions in bug 19318 that a similar issue with the PLasma5 screenlocker seems to be a pam issue. CC'ing a bunch of pam committers

Assigning to the Gnome maintainers, anyway, because it is not certain pam is the culprit, but it is certain GDM is affected.

Removing "NEEDINFO", because there is no information request. Maybe such a request was intended but forgotten?

Source RPM: gdm-3.22.0-2.mga6.src.rpm => gdm-3.22.0-2.mga6.src.rpm, pam?
See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=19318
Assignee: bugsquad => gnome
Keywords: NEEDINFO => (none)
CC: (none) => anssi.hannula, cjw, luigiwalser, mageia, mageia, marja11, pterjan, tmb

Comment 10 Olav Vitters 2020-04-10 23:04:27 CEST
Interestingly, in bug 3368 people complained that people without a password couldn't select a desktop. They could login though. I do not understand pam.
Comment 11 David Walser 2021-07-03 21:10:33 CEST
This looks OLD.

Resolution: (none) => OLD
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.