← Back to team overview

dx-packages team mailing list archive

[Bug 1169054] Re: Disabling then Re-Enabling login without password does remove user from nopasswdlogin group

 

This bug title is worded incorrectly. More accurate would be:

Changing user setting in User Accounts from "Login without password" to
"Disable this account" does not remove the user from the nopasswdlogin
group.

The user remains in the nopasswdlogin group only when going from "Login
without password" to "Disable this account". In this case, lightdm will
remain set to allow login without a password.

After setting a password, the user is properly removed from
nopasswdlogin and lightdm behaves correctly, so setting a password in
User Settings and then disabling the account in User Settings avoids the
bug.

I confirmed this in 12.04.4, 13.10, and 14.04 Beta 2.

See: http://askubuntu.com/questions/442641/how-to-disable-a
-passwordless-account/442995#442995

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to accountsservice in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1169054

Title:
  Disabling then Re-Enabling login without password does remove user
  from nopasswdlogin group

Status in “accountsservice” package in Ubuntu:
  Confirmed

Bug description:
  I am using 12.04.

  Under System Settings, User Accounts, Passwords, Action, changing to
  "Login without a password" works as expected. On the next login,
  LightDM will not prompt you for a password, You can just login by
  hitting Enter.

  But, re-enabling password, or changing a password for the same user
  does not change LightDM behavior. LightDM does not re-enable asking
  for password at login.

  I think the problem is re-enabling password under Systems Settings
  does not delete user from nopasswdlogin group. You have to delete it
  from the command line:

  sudo gpasswd -d username nopasswdlogin

  This problem is the same ones described here:

  http://ubuntuforums.org/showthread.php?p=11566335

  http://askubuntu.com/questions/211084/how-do-i-get-ubuntu-to-ask-me-
  for-at-password-at-login-again/281615#281615

  http://askubuntu.com/questions/100010/no-password-asked-at-login-
  screen-just-start-session-button-with-lightdm

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1169054/+subscriptions