Setting root password w/ rootpw

Stephen Mah steve.mah at oracle.com
Fri Apr 29 17:42:42 UTC 2005


It will take clear text or encrypted passwords.

use the grub-md5-crypt command to convert the password.
eg: "welcome" would be
rootpw --iscrypted $1$6AVJt0$jzcyYkTBUq3kYItxttWlm0


dan wrote:

> Hello, all -
>
> I was wondering what method you guys use for setting a root password 
> during a kickstart install.  I understand that it can be set by the 
> 'rootpw' directive, and optionally, I can throw it the --isencrypted 
> flag.  I'd like to assign an encrypted password, but I was curious as 
> to which method you guys use in an effort to simply convert a text 
> password into the encrypted type asked for.
>
> 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.
>
> Thanks!
> -dant
>
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list at redhat.com
> https://www.redhat.com/mailman/listinfo/kickstart-list




More information about the Kickstart-list mailing list