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

Lars Wirzenius liw at iki.fi
Wed Sep 7 22:45:39 UTC 2005


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.)





More information about the Adduser-devel mailing list