MD5 passwords

Andrew Pollock andrew-fai at andrew.net.au
Thu Jun 20 00:35:35 CEST 2002


On 18.06.2002 at 10:43:05, Andrew Pollock <andrew-fai at andrew.net.au> wrote:

> Hi,
> 
> Does anyone have a nice script/method of enabling MD5 passwords during an
> installation?

Hi,

I added this to the DEFAULT/S20 script that runs:

        { ${target}/etc/pam.d/passwd
                LocateLineMatching "^password.*"
                AppendToLineIfNotContains " md5"
        }

Andrew



More information about the linux-fai mailing list