On Fri, May 07, 2010 at 03:08:26PM +0100, Sam Morris wrote:

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

Oh, ok, cause I was having a devil of a time trying to figure out how we
would fix that root-only behavior :-)

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
[email protected]                                     [email protected]



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

Reply via email to