sha rootpw encryption in ks.cfg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 

In my ks.cfg files I encrypt the root password using grub-md5-crypt

 

According to the below article I an use sha512

How can I encrypt the password using sha?

What version of Red Hat is Rawhide?

Tips and tricks: Choosing the password hashing algorithm for /etc/shadow during installation

by Alexander Todorov

This is a new feature that has been requested in the Red Hat Enterprise Linux product line. The supported algorithms are DES, MD5, and SHA-256/512. They will be available after the upcoming updates releases as well as in Rawhide. The new algorithms will be configurable via Kickstart only. Here is the correct code.

DES

authconfig --enableshadow --passalgo=descrypt

rootpw fedora

MD5

authconfig --enableshadow --enablemd5

rootpw fedora

or

authconfig --enableshadow --passalgo=md5

rootpw fedora

SHA-256

authconfig --enableshadow --passalgo=sha256

rootpw fedora

SHA-512

authconfig --enableshadow --passalgo=sha512

rootpw fedora

 

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux