[Pkg-shadow-devel] Bug#1124835: Bug#1124835: chpasswd hash check goes too far

Marc Haber mh+debian-packages at zugschlus.de
Wed Jan 7 12:48:17 GMT 2026


On Wed, Jan 07, 2026 at 01:25:32PM +0100, Chris Hofstaedtler wrote:
>Don't get me wrong... in /etc/shadow directly: sure.
>But in the input to chpasswd? That seems a bit weird to me?
>
>chpasswd(8) says
>       -e, --encrypted
>           Supplied passwords are in encrypted form.
>
>... which doesn't say much :-)

I think that chpasswd should not try to be smarter than its user at this 
point. But *shrug*

>But I don't have a strong opinion either way.

neither do I. This just makes testing adduser a bit harder.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421



More information about the Pkg-shadow-devel mailing list