adduser creates expired system user
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
shadow (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: postgresql-common
This is the error message:
Setting up postgresql-common (106ubuntu1) ...
Your account has expired; please contact your system administrator
chfn: PAM authentication failed
adduser: `/usr/bin/chfn -f PostgreSQL administrator postgres' returned error code 1. Exiting.
dpkg: error processing postgresql-common (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of postgresql-8.4:
postgresql-8.4 depends on postgresql-common (>= 104~); however:
Package postgresql-common is not configured yet.
dpkg: error processing postgresql-8.4 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of postgresql:
postgresql depends on postgresql-8.4; however:
Package postgresql-8.4 is not configured yet.
dpkg: error processing postgresql (--configure):
dependency problems - leaving unconfigured
I've seen this before. May not be postgresql-
ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: postgresql-common 106ubuntu1
ProcVersionSign
Uname: Linux 2.6.32-
Architecture: i386
Date: Tue Mar 15 10:02:59 2011
ErrorMessage: subprocess installed post-installation script returned error exit status 1
PackageArchitec
SourcePackage: postgresql-common
Title: package postgresql-common 106ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
affects: | adduser (Ubuntu) → shadow (Ubuntu) |
"Your account has expired; please contact your system administrator chfn: PAM authentication failed"
Looks like you changed the local system "postgres" user to have an expired account. That doesn't happen in the default setup, so I assume this is a local change?