View previous topic :: View next topic |
Author |
Message |
vns n00b


Joined: 27 May 2004 Posts: 16 Location: Varna, Bulgaria
|
Posted: Wed Aug 18, 2004 4:42 pm Post subject: password encryption algorithm |
|
|
I have a gentoo server which uses DES for encrypting passwords. This results in a maximum length being eight characters. I want to change the encryption algorithm to MD5 in order to have longer passwords. Is it possible and if yes, how?
Thanks in advance |
|
Back to top |
|
 |
aetius Tux's lil' helper

Joined: 09 Jul 2004 Posts: 118
|
Posted: Thu Aug 19, 2004 8:28 pm Post subject: Re: password encryption algorithm |
|
|
vns wrote: | I have a gentoo server which uses DES for encrypting passwords. This results in a maximum length being eight characters. I want to change the encryption algorithm to MD5 in order to have longer passwords. Is it possible and if yes, how?
Thanks in advance |
It depends on how far you went with DES. Assuming you were using PAM and a normal default configuration (i.e. you removed the md5 option), you can switch your PAM settings and then re-passwd all your users to upgrade their configuration. There's some basic info here:
http://lists.debian.org/debian-user/2002/07/msg02677.html
About switching over the pam configuration and the pam_unix.so options to set password length. I believe (from other research) that the maximum password length for DES is 15 -- that would be changed either in /etc/login.defs (old) or in /etc/pam.d/ . |
|
Back to top |
|
 |
|