Setting root password w/ rootpw

Philip Rowlands phr at doc.ic.ac.uk
Fri Apr 29 17:52:35 UTC 2005


On Fri, 29 Apr 2005, dan wrote:

>I've tried copying sniplets from /etc/passwd from user accounts for
>which I set the password, and I knew what the password was, stuff like
>that - to no avail.  So... I thought I'd ask here.

Ensure that you have USEMD5=yes in /etc/sysconfig/authconfig; this is
set by kickstart's auth --enablemd5 line.

MD5-based passwords look like this:
$1$h6SOogDr$jZPK48gOLAgayPYLN4gSr0

whereas classic "crypt" passwords like this:
9tJNsoIV/pjgQ

Both can be generated by openssl's passwd applet;
see "openssl passwd --help" for more info.


Cheers,
Phil




More information about the Kickstart-list mailing list