Comment 15 for bug 22725

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Thu, 08 Sep 2005 01:45:39 +0300
From: Lars Wirzenius <email address hidden>
To: <email address hidden>
Subject: adduser: calls chage even when shadow passwords aren't being used

Package: adduser
Version: 3.67

adduser calls (as far as I can determine, not knowing perl) chage for
new system accounts unconditionally. chage fails when shadow passwords
are not being used. This causes some packages to fail to install (at
least under piuparts in a chroot).

Would it make sense to only call chage when /etc/shadow exists or
possibly only if the newly created account is in /etc/shadow?
(Alternatively, if shadowless configurations are to be unsupported, that
is fine by me, I'll fix piuparts to make such chroots.)