lightdm doesn´t ask for password

Bug #1499675 reported by Mark
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lightdm (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

For a long time (from previous versions) on my system I had only one user - Mark - with admin privileges, a password set and auto-login at startup. At boot I went directly to the Mark desktop.

Now I add another user for my daughter - Carol - normal user but with no password. I switch off auto-login for both users. At startup I see the lightdm screen with users Carol and Mark, I can access Carol correctly by pressing "Log In" but when I choose Mark I am not asked for the password, I see the "Log In" button and enter directly in the Mark desktop without being asked for a password.

I can also access Mark directly from the Carol account using the drop-down in the top left, again without being asked for a password.

When I look in "user accounts" I see Carol with "no password" and Mark with a password set, neither have autologin set.

I have looked at all the lightdm config files and can´t see anything obvious.

I need to protect the Mark account from my growing children. I´d appreciate your help.

Regards,

Mark Rennie

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: lightdm 1.10.5-0ubuntu1.1
ProcVersionSignature: Ubuntu 3.13.0-63.103-generic 3.13.11-ckt25
Uname: Linux 3.13.0-63-generic i686
ApportVersion: 2.14.1-0ubuntu3.15
Architecture: i386
CurrentDesktop: Unity
Date: Fri Sep 25 12:03:47 2015
InstallationDate: Installed on 2011-07-18 (1529 days ago)
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
LightdmConfig:
 [SeatDefaults]
 greeter-session=unity-greeter
 user-session=ubuntu
 allow-guest=false
SourcePackage: lightdm
UpgradeStatus: Upgraded to trusty on 2014-08-14 (407 days ago)

Revision history for this message
Mark (mark-rennie) wrote :
Revision history for this message
Robert Ancell (robert-ancell) wrote :

I suspect your Mark account is in the "nopasswdlogin" group. This means login can be done without a password being asked.

You can fix this from the command line:
$ sudo deluser mark nopasswdlogin

If this is the case I'm not sure what has gone wrong but that user should have been removed from that group when the password was set. It may also be fixed if you change your password using the user accounts settings.

Changed in lightdm (Ubuntu):
status: New → Incomplete
Revision history for this message
Mark (mark-rennie) wrote : Re: [Bug 1499675] Re: lightdm doesn´t ask for password

Perfect, the login now works as expected.

I did try changing the password and removing and recreating the password
on the "mark" account from the user accounts dialogue box before posting
the bug but it made no difference.

Thank you

Mark

On Sun, Sep 27, 2015, at 11:01 PM, Robert Ancell wrote:
> I suspect your Mark account is in the "nopasswdlogin" group. This means
> login can be done without a password being asked.
>
> You can fix this from the command line:
> $ sudo deluser mark nopasswdlogin
>
> If this is the case I'm not sure what has gone wrong but that user
> should have been removed from that group when the password was set. It
> may also be fixed if you change your password using the user accounts
> settings.
>
> ** Changed in: lightdm (Ubuntu)
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1499675
>
> Title:
> lightdm doesn´t ask for password
>
> Status in lightdm package in Ubuntu:
> Incomplete
>
> Bug description:
> For a long time (from previous versions) on my system I had only one
> user - Mark - with admin privileges, a password set and auto-login at
> startup. At boot I went directly to the Mark desktop.
>
> Now I add another user for my daughter - Carol - normal user but with
> no password. I switch off auto-login for both users. At startup I see
> the lightdm screen with users Carol and Mark, I can access Carol
> correctly by pressing "Log In" but when I choose Mark I am not asked
> for the password, I see the "Log In" button and enter directly in the
> Mark desktop without being asked for a password.
>
> I can also access Mark directly from the Carol account using the drop-
> down in the top left, again without being asked for a password.
>
> When I look in "user accounts" I see Carol with "no password" and Mark
> with a password set, neither have autologin set.
>
> I have looked at all the lightdm config files and can´t see anything
> obvious.
>
> I need to protect the Mark account from my growing children. I´d
> appreciate your help.
>
> Regards,
>
> Mark Rennie
>
> ProblemType: Bug
> DistroRelease: Ubuntu 14.04
> Package: lightdm 1.10.5-0ubuntu1.1
> ProcVersionSignature: Ubuntu 3.13.0-63.103-generic 3.13.11-ckt25
> Uname: Linux 3.13.0-63-generic i686
> ApportVersion: 2.14.1-0ubuntu3.15
> Architecture: i386
> CurrentDesktop: Unity
> Date: Fri Sep 25 12:03:47 2015
> InstallationDate: Installed on 2011-07-18 (1529 days ago)
> InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386
> (20110427.1)
> LightdmConfig:
> [SeatDefaults]
> greeter-session=unity-greeter
> user-session=ubuntu
> allow-guest=false
> SourcePackage: lightdm
> UpgradeStatus: Upgraded to trusty on 2014-08-14 (407 days ago)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1499675/+subscriptions

--
  Mark Rennie
  <email address hidden>

Changed in lightdm (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote :

the part we don't is: why "Mark" is added to nopasswdlogin group in the first place.

Revision history for this message
Mark (mark-rennie) wrote :
Download full text (3.1 KiB)

Hi there.

I think, if I recall correctly, that this was something I did manually a
long time ago under a previous Ubuntu version when Mark was the only
user on the system. I did it to avoid having to type in a password when
I turn the PC on. I can´t remember where I read about changing this
setting, it would have been on a forum somewhere because I am not a Unix
expert.

I guess the setting was carried through unchanged in the subsequent
upgrades, I didn´t notice anything until I tried to put a password on
the Mark account using the GUI and it didn´t work. Then I couldn´t
remember the change I´d made manually years previously.

I know it´s essentially user error but then users make errors, maybe the
GUI should check this setting when you flick the "password/nopassword"
switch?

Regards,

Mark Rennie

On Wed, Feb 8, 2017, at 09:59 AM, Yuan-Chen Cheng wrote:
> the part we don't is: why "Mark" is added to nopasswdlogin group in the
> first place.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1499675
>
> Title:
> lightdm doesn´t ask for password
>
> Status in lightdm package in Ubuntu:
> Invalid
>
> Bug description:
> For a long time (from previous versions) on my system I had only one
> user - Mark - with admin privileges, a password set and auto-login at
> startup. At boot I went directly to the Mark desktop.
>
> Now I add another user for my daughter - Carol - normal user but with
> no password. I switch off auto-login for both users. At startup I see
> the lightdm screen with users Carol and Mark, I can access Carol
> correctly by pressing "Log In" but when I choose Mark I am not asked
> for the password, I see the "Log In" button and enter directly in the
> Mark desktop without being asked for a password.
>
> I can also access Mark directly from the Carol account using the drop-
> down in the top left, again without being asked for a password.
>
> When I look in "user accounts" I see Carol with "no password" and Mark
> with a password set, neither have autologin set.
>
> I have looked at all the lightdm config files and can´t see anything
> obvious.
>
> I need to protect the Mark account from my growing children. I´d
> appreciate your help.
>
> Regards,
>
> Mark Rennie
>
> ProblemType: Bug
> DistroRelease: Ubuntu 14.04
> Package: lightdm 1.10.5-0ubuntu1.1
> ProcVersionSignature: Ubuntu 3.13.0-63.103-generic 3.13.11-ckt25
> Uname: Linux 3.13.0-63-generic i686
> ApportVersion: 2.14.1-0ubuntu3.15
> Architecture: i386
> CurrentDesktop: Unity
> Date: Fri Sep 25 12:03:47 2015
> InstallationDate: Installed on 2011-07-18 (1529 days ago)
> InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386
> (20110427.1)
> LightdmConfig:
> [SeatDefaults]
> greeter-session=unity-greeter
> user-session=ubuntu
> allow-guest=false
> SourcePackage: lightdm
> UpgradeStatus: Upgraded to trusty on 2014-08-14 (407 days ago)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1499675/+subscriptions

--
  Mark Rennie
  mark_rennie@...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.