Password hashing algorithms

stefan at stefan at
Wed Jun 13 04:12:58 PDT 2001

On Wed, Jun 13, 2001 at 01:04:52PM +0200, Kristoffer Ekelund wrote:
> What hashing algorithm is used by the password handling
> programs on a LFS system (as per "by the book") and what would I need to
> do to change it? I know that I can choose md5 passwords when installing

Hello Kristoffer,

In the file /etc/login.defs you can set
This enables md5 passwords. There are a lot more
options to set in the file. I do not know what the standart
(default) algorithm is, but it is weaker than m5. You can
test this with e.g. John the ripper.


Unsubscribe: send email to lfs-security-request at
and put unsubscribe in the subject header of the message

More information about the lfs-security mailing list