[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kullervo

On Fri, Jan 25, 2013 at 10:16:10PM +0000, Thorsten Glaser wrote:
> Eero Tamminen dixit:
> >Sure, the main thing where it was annoyingly slower, was logging in
> >(as root).  That hopefully doesn't run udev. ;-)
> No, it just runs sha512 10000 times in a row on the salted password
> to hash it instead of md5crypt or just unix crypt.
> (Or something like that, I’ve got the full paper on it by drepper
> mirrored here somewhere since I implemented it in Java™ for my
> coworkers. Not knowing any Java™, I might add.)
> I’ve got no idea how to change the default algorithm back to
> md5crypt, that’s a debian user question. Afterwards, just setting
> a new password with passwd should then use md5crypt.

The quick and dirty way: edit /etc/shadow, and replace the $6$-using
password with a $1$-using one?

the proper way would be to do 

sed -e 's/sha512/md5/' /etc/pam.d/common-password

Copyshops should do vouchers. So that next time some bureaucracy requires you
to mail a form in triplicate, you can mail it just once, add a voucher, and
save on postage.

Reply to: