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

[no subject]



-----Original Message-----
From: ale-bounces at ale.org [<a  rel="nofollow" href="mailto:ale-bounces";>mailto:ale-bounces</a> at ale.org] On Behalf Of Scott
Warfield
Sent: Wednesday, November 24, 2004 12:10 PM
To: 'Atlanta Linux Enthusiasts'
Subject: [ale] Grub password

So we know that we can use grub-md5-crypt to generate a grub passwod.  The
hash is then generated as such:  $1$[seed]$[hash].  In perl we can generate
something similar by using &quot;$hash=crypt([password],[seed]);&quot;, where seed is
&quot;\$1\$xxxxxx&quot;.

However, if you use the perl generated hash, the password wont work in grub.
Does any know why that is?  I'm trying to automate a grub password
installation with perl.

-------------------------------------------------------
Scott Warfield
Internet Security Systems
X-Force Developer
 
swarfield at iss.net
PGP Key: 0x1DE30C1D
-------------------------------------------------------

_______________________________________________
Ale mailing list
Ale at ale.org
<a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>

 
 ** ACCEPT: CRM114 PASS Markovian Matcher ** CLASSIFY succeeds; success
probability: 1.0000  pR: 100.5159 Best match to file #0 (nonspam.css) prob:
1.0000  pR: 100.5159 Total features in input file: 7072 #0 (nonspam.css):
features: 3239807, hits: 17341525, prob: 1.00e+00, pR: 100.52
#1 (spam.css): features: 2871637, hits: 16091294, prob: 3.05e-101, pR:
-100.52 
 


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00992" href="msg00992.html">[ale] Grub password</a></strong>
<ul><li><em>From:</em> magius at wittsend.com (Scott Warfield)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00996.html">[ale] Firewall?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00998.html">[ale] FAT32 driver and big disk drives</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00992.html">[ale] Grub password</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg01004.html">[ale] Grub password</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00997"><strong>Date</strong></a></li>
<li><a href="threads.html#00997"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>