PDA

View Full Version : [ubuntu] accepting all encryption methods



vielmaj
June 16th, 2009, 10:17 PM
I am moving from suse 11 to ubuntu 9.04 and my old /etc/shadow encrypted passwords are not working. These old passwords are encrypted by blowfish and DES and ubuntu uses SHA512. Is there any way I can still use my old passwords so I do not have to reset everyones passwords.

Thanks,

jason

jancelis
November 5th, 2009, 02:04 PM
For the DES part I would set ENCRYPT_METHOD in /etc/login.defs to DES.
So the line in /etc/login.defs that says:
ENCRYPT_METHOD SHA512
should become:
ENCRYPT_METHOD DES