<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:18.0pt;
        font-family:"Times New Roman";
        font-weight:bold;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
code
        {font-family:"Courier New";
        color:#003366;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><b><font size=2 face="Times New Roman"><span
style='font-size:10.0pt'><o:p> </o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 face="Times New Roman"><span
style='font-size:10.0pt;font-weight:normal'>In my ks.cfg files I encrypt the
root password using </span></font></b><code><font size=2 color="#003366"
face="Courier New"><span style='font-size:10.0pt;font-weight:normal'>grub-md5-crypt</span></font></code><font
size=2><span style='font-size:10.0pt;font-weight:normal'> <o:p></o:p></span></font></p>

<p class=MsoNormal><b><font size=2 face="Times New Roman"><span
style='font-size:10.0pt;font-weight:normal'><o:p> </o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 face="Times New Roman"><span
style='font-size:10.0pt;font-weight:normal'>According to the below article I an
use sha512 <o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 face="Times New Roman"><span
style='font-size:10.0pt;font-weight:normal'>How can I encrypt the password
using sha?<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 face="Times New Roman"><span
style='font-size:10.0pt;font-weight:normal'>What version of Red Hat is Rawhide?<o:p></o:p></span></font></b></p>

<p class=MsoNormal style='mso-margin-top-alt:5.0pt;margin-right:0in;margin-bottom:
5.0pt;margin-left:0in;page-break-after:avoid;text-autospace:none'><b><font
size=2 face="Times New Roman"><span style='font-size:10.0pt;font-weight:normal'><a
href="http://www.redhatmagazine.com/2008/03/18/tips-and-tricks-choosing-the-password-hashing-algorithm-for-etcshadow-during-installation/">Tips
and tricks: Choosing the password hashing algorithm for /etc/shadow during
installation</a><o:p></o:p></span></font></b></p>

<p class=MsoNormal style='mso-margin-top-alt:5.0pt;margin-right:0in;margin-bottom:
5.0pt;margin-left:0in;page-break-after:avoid;text-autospace:none'><b><font
size=2 face="Times New Roman"><span style='font-size:10.0pt;font-weight:normal'>by
<a href="http://www.redhatmagazine.com/author/atodorov/">Alexander Todorov</a><o:p></o:p></span></font></b></p>

<p class=MsoNormal style='mso-margin-top-alt:5.0pt;margin-right:0in;margin-bottom:
5.0pt;margin-left:0in;text-autospace:none'><b><font size=2
face="Times New Roman"><span style='font-size:10.0pt;font-weight:normal'>This
is a new feature that has been requested in the <a
href="http://www.redhat.com/rhel">Red Hat Enterprise Linux</a> product line.
The supported algorithms are <a
href="http://en.wikipedia.org/wiki/Data_Encryption_Standard">DES</a>, <a
href="http://en.wikipedia.org/wiki/MD5">MD5</a>, and <a
href="http://en.wikipedia.org/wiki/SHA_hash_functions">SHA-256/512</a>. They
will be available after the upcoming updates releases as well as in <a
href="https://www.redhat.com/archives/anaconda-devel-list/2008-February/msg00134.html">Rawhide</a>.
The new algorithms will be configurable via <a
href="http://fedoraproject.org/wiki/Anaconda/Kickstart">Kickstart</a> only.
Here is the correct code.<o:p></o:p></span></font></b></p>

<p class=MsoNormal style='mso-margin-top-alt:5.0pt;margin-right:0in;margin-bottom:
5.0pt;margin-left:0in;page-break-after:avoid;text-autospace:none'><b><font
size=2 face="Times New Roman"><span style='font-size:10.0pt;font-weight:normal'>DES<o:p></o:p></span></font></b></p>

<p class=MsoNormal style='text-autospace:none'><b><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
font-weight:normal'>authconfig --enableshadow --passalgo=descrypt<o:p></o:p></span></font></b></p>

<p class=MsoNormal style='text-autospace:none'><b><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
font-weight:normal'>rootpw fedora<o:p></o:p></span></font></b></p>

<p class=MsoNormal style='mso-margin-top-alt:5.0pt;margin-right:0in;margin-bottom:
5.0pt;margin-left:0in;page-break-after:avoid;text-autospace:none'><b><font
size=2 face="Times New Roman"><span style='font-size:10.0pt;font-weight:normal'>MD5<o:p></o:p></span></font></b></p>

<p class=MsoNormal style='text-autospace:none'><b><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
font-weight:normal'>authconfig --enableshadow --enablemd5<o:p></o:p></span></font></b></p>

<p class=MsoNormal style='text-autospace:none'><b><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
font-weight:normal'>rootpw fedora<o:p></o:p></span></font></b></p>

<p class=MsoNormal style='mso-margin-top-alt:5.0pt;margin-right:0in;margin-bottom:
5.0pt;margin-left:0in;text-autospace:none'><b><font size=2
face="Times New Roman"><span style='font-size:10.0pt;font-weight:normal'>or<o:p></o:p></span></font></b></p>

<p class=MsoNormal style='text-autospace:none'><b><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
font-weight:normal'>authconfig --enableshadow --passalgo=md5<o:p></o:p></span></font></b></p>

<p class=MsoNormal style='text-autospace:none'><b><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
font-weight:normal'>rootpw fedora<o:p></o:p></span></font></b></p>

<p class=MsoNormal style='mso-margin-top-alt:5.0pt;margin-right:0in;margin-bottom:
5.0pt;margin-left:0in;page-break-after:avoid;text-autospace:none'><b><font
size=2 face="Times New Roman"><span style='font-size:10.0pt;font-weight:normal'>SHA-256<o:p></o:p></span></font></b></p>

<p class=MsoNormal style='text-autospace:none'><b><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
font-weight:normal'>authconfig --enableshadow --passalgo=sha256<o:p></o:p></span></font></b></p>

<p class=MsoNormal style='text-autospace:none'><b><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
font-weight:normal'>rootpw fedora<o:p></o:p></span></font></b></p>

<p class=MsoNormal style='mso-margin-top-alt:5.0pt;margin-right:0in;margin-bottom:
5.0pt;margin-left:0in;page-break-after:avoid;text-autospace:none'><b><font
size=2 face="Times New Roman"><span style='font-size:10.0pt;font-weight:normal'>SHA-512<o:p></o:p></span></font></b></p>

<p class=MsoNormal style='text-autospace:none'><b><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
font-weight:normal'>authconfig --enableshadow --passalgo=sha512<o:p></o:p></span></font></b></p>

<p class=MsoNormal style='text-autospace:none'><b><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
font-weight:normal'>rootpw fedora<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial;font-weight:normal'><o:p> </o:p></span></font></b></p>

</div>

</body>

</html>