This change fixed the bug for me. Installed version: unity-control-center 14.04.3+14.04.20140604-0ubuntu1
Test case:
1. Used unity-control-center to configure a user to log in without password.
User was added to the nopasswdlogin group and was able to log in without password.
2. Used unity-control-center to disabled user account.
User was removed from the nopasswdlogin group and was *not* able to log in.
Switching the user from various password/login configurations and in various sequences did not show any regression.
Behavior remained as intended in all password modes in all sequences.
This change fixed the bug for me. Installed version: unity-control- center 14.04.3+ 14.04.20140604- 0ubuntu1
Test case:
1. Used unity-control- center to configure a user to log in without password.
User was added to the nopasswdlogin group and was able to log in without password.
2. Used unity-control- center to disabled user account.
User was removed from the nopasswdlogin group and was *not* able to log in.
Switching the user from various password/login configurations and in various sequences did not show any regression.
Behavior remained as intended in all password modes in all sequences.