Authentication fails during password expiry warning period

Bug #886755 reported by WaltSullivan
10
This bug affects 1 person
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.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch
Distributor ID: Ubuntu
Description: Ubuntu 11.10
Release: 11.10
Codename: oneiric
+ dpkg -l software-center
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ 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://ca.archive.ubuntu.com/ubuntu/ oneiric-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     5.0.1.4 0
        500 http://ca.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages
+ 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
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
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)
PackageArchitecture: all
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)

Revision history for this message
WaltSullivan (walts) wrote :
Revision history for this message
Alessandro Menti (elgaton) wrote :

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?

Revision history for this message
Gary Lasker (gary-lasker) wrote :

Hi WaltSullican, thanks for your report. And Alessandro, thanks for your comment. Is anybody able to reproduce this error in recent versions of Software Center?

Please answer these questions:
1. Is this reproducible?
2. If so, what specific steps should we take to recreate this bug? Be as detailed as possible.
This will help us to find and resolve the problem.

Changed in software-center (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for software-center (Ubuntu) because there has been no activity for 60 days.]

Changed in software-center (Ubuntu):
status: Incomplete → Expired
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.