Right, mystery solved. I did not realise that passwd allows root to set
the user's password to anything, even if the cracklib checks fail.

If I instead run 'sudo -u testuser passwd' then I am unable to set a
weak password. Sorry for the noise.

-- 
Sam Morris <[email protected]>




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to