Package: adduser
Version: 3.154
Severity: minor

chpasswd from shadow 4.19.0 does validity checks for the hash that is 
passed to it (#1124835). This breaks some adduser tess, for example this 
one from adduser_system.t:

system('echo "aust:!foobar" | chpasswd --encrypted');↲
ok(1, "set passwd to !foobar");↲
assert_command_result_silent(RET_WRONG_OBJECT_PROPERTIES,↲
    '/usr/sbin/adduser',↲
    '--stdoutmsglevel=error', '--stderrmsglevel=error',↲
    '--system',↲
    '--disabled-login',↲
    'aust'↲
);↲
assert_user_exists('aust');↲
assert_user_is_system('aust');↲

For the time being, I have disabled this test in adduser.

We shold make up our minds whether we would want to poke the invalid 
hash into /etc/shadow or whether we shrug it away and delete the test 
for good.

Greetings
Marc

Reply via email to