diff options
author | David Lehman <dlehman@redhat.com> | 2008-04-14 18:16:48 -0500 |
---|---|---|
committer | David Lehman <dlehman@redhat.com> | 2008-04-14 18:27:23 -0500 |
commit | 1bd63a119af1997ed9a2cc6417577844d537df2f (patch) | |
tree | 7a234c61fe482ff9ab8d1582d3f08d159de58f28 /pixmaps/file-managers.png | |
parent | 5c99705422e5c68165f49aa0f6b0f5062f3554fe (diff) | |
download | anaconda-1bd63a119af1997ed9a2cc6417577844d537df2f.tar.gz anaconda-1bd63a119af1997ed9a2cc6417577844d537df2f.tar.xz anaconda-1bd63a119af1997ed9a2cc6417577844d537df2f.zip |
Support SHA256/SHA512 password encoding from kickstart (#427384)
This is a backport of commit d8d41c7dd645092f8e497df6dcf1aa7669fea141 from
the rhel5-branch.
Allow users to select the SHA256 or SHA512 encoding algorithm in
addition to MD5 for password encoding. This can be accomplished
through kickstart only for RHEL 4 and RHEL 5, but RHEL 6 will have UI changes
to accomodate this change as well.
Use the authconfig statement in kickstart to set the encoding
algorithm:
authconfig --enableshadow --enablemd5
authconfig --enableshadow --passalgo=sha256
authconfig --enableshadow --passalgo=sha512
Passwords specified with the 'rootpw' command or user accounts with
the 'user' command will be encoded using the specified algorithm.
The /etc/libuser.conf file on the target system will have its
crypt_style setting updated to the preferred algorithm as well.
MD5 encoded passwords start with $1$, SHA256 passwords begin with $5$,
and SHA512 passwords begin with $6$.
Setting the root password through the graphical or text mode interface
to anaconda will still get you an MD5 encoded password.
Diffstat (limited to 'pixmaps/file-managers.png')
0 files changed, 0 insertions, 0 deletions