[ale] Grub password
Scott Warfield
magius at wittsend.com
Wed Nov 24 13:49:06 EST 2004
I sooooooo love stupid developer tricks. Typos are your friend. It works
as I described.
-----Original Message-----
From: ale-bounces at ale.org [mailto:ale-bounces 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 "$hash=crypt([password],[seed]);", where seed is
"\$1\$xxxxxx".
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
http://www.ale.org/mailman/listinfo/ale
** 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
More information about the Ale
mailing list