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

If you have any questions or problems regarding this article and want help within 24 Hours? Ask Now

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.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

Receive Your Free Complimentary eBook 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...

14 Responses

  1. jun says:

    Hi,

    I’m new in linux. We forgot both the root password and GRUB password.
    How can I reset both? Also, how can i go to single user mode to remove the GRUB password?
    Thank you

  2. Omar says:

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

  3. 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

  4. 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 ………..

  5. 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

  6. 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?

  7. opa says:

    How about Ubuntu? :/

  8. 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.

  9. Corey says:

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

  10. 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=""> <s> <strike> <strong>

Join Over 80000+ Linux Users
  1. 52882
  2. 2763
  3. 18,639

Enter your email to get latest Linux Howto's