Home > System Administration > CentOS 6 Kickstart Encrypted Password

CentOS 6 Kickstart Encrypted Password

To create the SHA256 encrypted password for a CentOS 6 kickstart file:

python -c 'import crypt; print(crypt.crypt("Password", "$6$Salt"))'