[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Wed Nov 24 15:16:52 2004 -->
- <!--x-from-r13: obo ng irelfrpheryvahk.pbz (Pbo Fbkra) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] Grub password -->
- <li><em>date</em>: Wed Nov 24 15:16:52 2004</li>
- <li><em>from</em>: bob at verysecurelinux.com (Bob Toxen)</li>
- <li><em>in-reply-to</em>: <<a href="msg00992.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg00992.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] Grub password</li>
I don't know the answer. HOWEVER, thanks for explaining what part of
the passwd "hash" in /etc/shadow is the seed. I, uh, only knew for
the ancient DES format.
Best regards,
Bob
On Wed, Nov 24, 2004 at 12:10:24PM -0500, Scott Warfield wrote:
> 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
> <a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
</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="msg01003.html">[ale] FAT32 driver and big disk drives</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg01005.html">[ale] file size limit?</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00997.html">[ale] Grub password</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00994.html">[ale] Backup network.</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#01004"><strong>Date</strong></a></li>
<li><a href="threads.html#01004"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>