changing minimum password length in Jaunty

Brian McKee brian.mckee at
Tue Jan 12 01:02:25 UTC 2010

On Mon, 2010-01-11 at 17:00 -0600, Stephen Burke wrote:
> I'm having some trouble changing the minimum password length in
> Jaunty.  I've tried changing lines in my /etc/pam.d/common-password
> file a bunch of times adding min=8, minlen=8 etc.  But nothing seems
> to work when I try & run the command sudo adduser and see it ask for a
> password of at least 8 characters.  Can anyone help with the correct
> lines that I need in my common-password file to enforce a minimum
> length of password?

IIRC root gets to override that whenever it wants. Try as a regular user
changing your password and see if it enforces it then.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the ubuntu-users mailing list