[Adduser-devel] Bug#327144: adduser: calls chage even when shadow passwords aren't being used

Marc Haber mh+debian-packages at zugschlus.de
Thu Sep 8 12:35:03 UTC 2005

On Thu, Sep 08, 2005 at 12:57:04PM +0300, Lars Wirzenius wrote:
> to, 2005-09-08 kello 07:24 +0200, Marc Haber kirjoitti:
> > However, the experimental version of shadow returns a different error
> > code on chage failure due to shadow not enabled, and adduser is not
> > yet adapted. Which version of shadow do you have installed?
> The version in etch, 3.67 (same version in unstable, according to
> packages.qa.debian.org). The following is the error messages I get, I've
> attached the entire piuparts log file (the log is for bcron-run, which
> tries to use adduser).
>   chage: can't open shadow password fileadduser: `/usr/bin/chage -M
> 99999 cron'
> returned error code 1.  Aborting.

Obviously, shadow in etch does not return a special error code, and
decided that it is better to fail for non-shadow setups instead of
ignoring all errors which would have been the alternative here.

This issue is going to be around until the experimental shadow has
migrated to etch and an adapted adduser has been uploaded.


Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835

More information about the Adduser-devel mailing list