View Full Version : md5 passwords
bow-wow
2004-06-29, 15:25 PM
Is there any particular reason why SB does not enable md5 passwords on debian servers during installation?
Because we forgot? :D
This will be fixed immediately.
bow-wow
2004-07-21, 11:29 AM
heh. better late than never :)
knightfoo
2004-07-22, 11:46 AM
While looking into this we found that there is a bug in Debian Woody that prevents the passwd package from being configured in the way one would expect. It has been fixed on the installers and you can run the following commands to fix your server (the Debian way):
# dpkg-reconfigure -f noninteractive passwd
# echo "set passwd/md5 true" | debconf-communicate
# echo "set passwd/shadow true" | debconf-communicate
# dpkg-reconfigure -f noninteractive passwd
You can also manually edit the files in /etc/pam.d and add "md5" to the end of lines that begin with "password required pam_unix.so".
-knightfoo
bow-wow
2004-07-22, 12:45 PM
Probably also worth noting that after you enable md5 passwords on the box, each user account password needs to be reset in order to be stored as an md5 password in /etc/shadow.
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.