DIGIT-ARC read-only archive · snapshot: July 23, 2026

Help:InsallGrubPasswd

2 posts · originally from https://geek.digit.in/community/threads/help-insallgrubpasswd.22643/

R
ra_rav Original post #1
Jan 24, 2006 at 1:28 PM
How t set a GRUB password, i have already instakked grub on my mbr.
praka123
Jan 24, 2006 at 2:43 PM
This is already explained in Tips n tricks 3rd page.
*www.thinkdigit.com/forum/viewtopic.php?t=15125&start=40
In short,
How to password-protect GRUB(*linuxgazette.net/107/tomar.html)

* Open a shell prompt and log in as root
* Type /sbin/grub-md5-crypt and press enter
* Enter the password you chose for GRUB when prompted. This will return an MD5 hash of your password
* Open /boot/grub/grub.conf in your favorite text editor
* Add password --md5 <password-hash> below the timeout in the main section (Replace <password-hash> with the hash you got in the previous step)
* Save and exit
* The next time you reboot, the GRUB menu will not let you access the editor or command interface without first pressing [p] followed by the GRUB password.
for more try in CLI "info GRUB" or "man grub"