Tuesday, December 28, 2004

GRUB with password

1) /sbin/grub-md5-crypt
When Prompted enter the password you will use for grub. It will give back a MD5 hashed password. Note it down.

2) Edit /boot/grub/grub.conf . In the line of main section add this line
password --md5

3) Reboot. Now only pressing P will allow you for password.

4) If there is a DOS partition in grub under the title DOS do as follows
title DOS
lock
password --md5

5) Finally chmod 600 /boot/grub/grub.conf

And here are some password cracking programs
www.openwall.com/john
www.users.dircon.co....k/~crypto/index.html
www.ussrback.com/distribute.html

No comments: