Re: MD5/bigcrypt passwords with potato
"Dwayne C . Litzenberger" <firstname.lastname@example.org> wrote:
I did this on RedHat months ago, and how do I do it in potato? I want
passwords longer than 8 chars, whether it be MD5 or bigcrypt or whatever,
I don't care how (although I'd like to be able to preserve other people's
old passwords, if it's easy enough), but I miss this functionality in
RedHat, and I suspect it's possible with Debian.
if you are running potato (which you say you are) you just need to
modify the appropriate /etc/pam.d/ files anything like
password .... pam_unix.so
add md5 to the end of pam_unix.so the files you should have to
change off hand are passwd, su, login, and possibly some others
depending on what you have installed.
if you are not running potato then you need to edit /etc/login.defs
you will (should) find a line for enabling md5, after these changes
all you need to do is run passwd and your new password will be in md5
now I do have one question about this too, in /etc/login.defs there
is a line for defining the maximum number of significant characters
in a password, it is set to 8 which you would need to change, my
question is 1) is this option relevant on potato with PAM? and 2)
what is the maximum number of characters a md5 password may contain?
OpenPGP encrypted mail accepted.
To obtain my PGP key: http://www.alaska.net/~erbenson/pgp/
Key FingerPrint: 371A 7416 5D39 CF2D 9366 8AF6 0139 54F5 3EBD 0FE6
RSA Key FingerPrint: DE8B 74D0 79F1 6176 9AF5 120F 47AD 9B0A