Setting root password w/ rootpw

dan info at hostinthebox.net
Fri Apr 29 17:55:35 UTC 2005


Philip Rowlands wrote:
> 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
> 

All -

I know the difference between the passwords, but I think that Stephen 
Mah got me on the right track.

He suggested using the grub-md5-crypt command, which works perfectly. 
Exactly what I was looking for.

Thanks
-dant




More information about the Kickstart-list mailing list