Comment 21 for bug 1630156

Revision history for this message
Iain Lane (laney) wrote : Re: [Bug 1630156] Re: No password needed to Log in after cancel the password and then reset again

On Wed, Feb 22, 2017 at 03:27:00AM -0000, Yuan-Chen Cheng wrote:
> I run the test case on xenial with the new package, it works fine and
> the test case passed !
>
> But as I replace step 7 to:
>
> close the "user accounts panel" and make sure we quit all instance of
> unity-control-center, and launch "user accounts panel" again, and choose
> to Re-open the password dialog as in step 4.
>
> Then the test failed with after re-launch user account panel in the way
>
> 1. can't ""Click "Unlock" at the top right, and enter the user's password."" because the password is clear in step 5.
> 2. if we just change the password without unlock first, the system request password prompt "Authentication is required to change user data". Any password won't work for it. Then I need to press 'cancel' button, then the password is set, but user still in nopasswdlogin group.
>
> I propose we refine the bug description instead of open a new bug. Feel
> free to propose otherwise.

TBH it's up to you. If you're saying this is a partial fix but doesn't
fix the main part of the problem for you then you can either release
this SRU and do another one to fix the rest of it, or block this one. It
doesn't really matter to me.

I would appreciate it if someone could help out on figuring out what the
problem is here though. Is it something to do with deleting the password
when you go to ACT_USER_PASSWORD_MODE_NONE? If so, what's the right
thing to do? And also, what happens if you operate on a user other than
the current one?

--
Iain Lane [ <email address hidden> ]
Debian Developer [ <email address hidden> ]
Ubuntu Developer [ <email address hidden> ]