Authentication fails during password expiry warning period
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-center (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I have password aging enabled, and am within the password expiry warning period. When I try to install software, I'm prompted for my password. When I enter my password, I see a "Your password will expire in 4 days" message, and get re-prompted, until authentication fails, and I can't install the software. My password should be valid for this purpose even with the expiry warning.
My system is:
+ lsb_release -a
LSB Version: core-2.
Distributor ID: Ubuntu
Description: Ubuntu 11.10
Release: 11.10
Codename: oneiric
+ dpkg -l software-center
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Description
+++-===
ii software-center 5.0.2 Utility for browsing, installing, and removing software
+ apt-cache policy software-center
software-center:
Installed: 5.0.2
Candidate: 5.0.2
Version table:
*** 5.0.2 0
500 http://
100 /var/lib/
5.0.1.4 0
500 http://
+ chage -l walt
Last password change : Oct 10, 2011
Password expires : Nov 10, 2011
Password inactive : never
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : 31
Number of days of warning before password expires : 7
+ exit 0
walt@wombat:~(0)$ date
Sun Nov 6 02:07:37 EST 2011
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: software-center 5.0.2
ProcVersionSign
Uname: Linux 3.0.0-12-generic x86_64
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Sun Nov 6 02:03:08 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
PackageArchitec
ProcEnviron:
LANGUAGE=en_CA:en
PATH=(custom, user)
LANG=en_CA.UTF-8
SHELL=/bin/bash
SourcePackage: software-center
UpgradeStatus: Upgraded to oneiric on 2011-10-14 (23 days ago)
I have tried to reproduce the bug on a fresh install of Ubuntu 11.10 but did not succeed.
Followed steps:
1) Fresh install of Ubuntu 11.10.
2) Changed account aging information with the following command:
sudo passwd -w 2 -x 3 <account name>
3) Killed sudo ticket with "sudo -k".
4) Moved the clock to two days forward.
5) Logged out and logged back in.
6) Tried to install Gnome PPP from Software Center.
The password prompt (as well as the login screen) correctly said that the password would expire in one day, but let me continue anyway.
Is someone else willing to reproduce to double-check?