Help:InsallGrubPasswd

Discussion in 'Open Source' started by ra_rav, Jan 24, 2006.

Thread Status:
Not open for further replies.
  1. ra_rav

    ra_rav New Member

    Joined:
    Sep 24, 2005
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    0
    How t set a GRUB password, i have already instakked grub on my mbr.
     
  2. praka123

    praka123 left this forum longback

    Joined:
    Sep 7, 2005
    Messages:
    7,513
    Likes Received:
    24
    Trophy Points:
    0
    Location:
    -
    This is already explained in Tips n tricks 3rd page.
    http://www.thinkdigit.com/forum/viewtopic.php?t=15125&start=40
    In short,
    How to password-protect GRUB(http://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"
     
Thread Status:
Not open for further replies.

Share This Page