[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: extrange passwd behaviour

> I've discovered that login, sudo, gdm only take care of the first 8
> characters of the passwd. The following characters don't count. See the
> following example (I've created a new user just to make the test)

If you are not using md5 passwords will have a max length of 8
characters.  If you're using md5 your pam config for passwd etc should
look something like this:
password        required        pam_unix.so md5
And the passwords in the shadow file should start with $1$

Reply to: