How to Protect GRUB with Password in RHEL / CentOS / Fedora Linux

Download Your Free eBooks NOW - 10 Free Linux eBooks for Administrators

Ravi Saive

Simple Word a Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux.

Host Your Own Website at $97 Discount + One Free Domain Using our Promo Code 'Tec97' (Enter this code during Signup) - Signup with DreamHost Now!

Download Free Linux eBooks

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Ubuntu Linux Toolbox: 1000+ Commands

You may also like...

12 Responses

  1. Omar says:

    i forgot the grub’s password, can you help me please. Thanks in advance.

  2. Tuhin says:

    FOR CENTOS…….LINUX

    *HOW TO SET BOOT PASSWORD*

    login root (#)

    #vim /etc/grub.conf
    :se nu
    13 no line…… press enter key and go next line (14 no line)
    password ******
    :wq

  3. karthik says:

    hi
    i followed the above steps in redhat linux . i did not get error . it didnt ask me the grub password …why ? can u tell me y its happened ………..

  4. Dhanus says:

    grub is not showing up all the installed operating systems.

    I have rhel 6 64-bit os after that i installed centos 64-bit after installing centos rhel 6 is not showing up in grub..

    whereas i am also having windows 7 which is active all the time

  5. Peter says:

    Thanks for your great info.
    If e person boot via a Live CD or another OS, they can access to all HDD files & folders. How can we protect it?

  6. opa says:

    How about Ubuntu? :/

  7. Mohan says:

    Hai
    how r u,
    This is MOhan

    I have one doubt How to change the grub password in Rhel 6

    Regards
    Mohan
    mail:chantiem48@gmail.com

    • Ravi Saive says:

      Please go through the article, we already explained very clearly how to protect grub with password. Follow same procedure for changing.

  8. Corey says:

    No there are different files in 18 because it uses grub 2 it does not work

  9. Jacob says:

    What about Fedora 17/18? I think your solution won’t work with the latest versions.

    • Ravi Saive says:

      I think it should work with latest Linux versions too,because the grub file is the same and procedure also. Why not you try and tell us.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Join Over 62000+ Linux Users
  1. 48100
  2. 2222
  3. 11697
Enter your email to get latest Linux Howto's