To encrypt your root password for use in a Kickstart config, you can use a command like this:
perl -e ‘print crypt(“newpasswd”, “Xa”) . “\n”;’p
Where newpasswd is your new password and Xa is your salt characters which can be replaced with any 2 alphanumeric characters.
# perl -e ‘print crypt(“Fisvacvift”, “09”) . “\n”;’p
092vXPFWXT4Ts
In your kickstart config, your new line would look like this:
rootpw –iscrypted 092vXPFWXT4Ts