On Fri, 15 Jul 2005, [EMAIL PROTECTED] wrote:

I thought I would use MD5 Passwords because of this line in
/etc/pam.d/common-passwd:

password   required   pam_unix.so nullok obscure min=4 max=8 md5

But today I discovered that the format in /etc/shadow is crypt, because it
is like $1$salt$hash !

What did I do wrong ?

Probably nothing -- that's what md5 passwords in /etc/shadow look like.
They still use a salt and hash, it's just an md5 salt and hash. Old-style
crypt passwords don't have the '$1$' bit at the beginning.

Check out crypt(3), near the end, for more on how it works.

- Aaron

--
Aaron Hall           :         You are the first four contestants on...
[EMAIL PROTECTED]  :                  THE PRICE IS RIGHT!


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

Reply via email to