Featured

Thursday, July 11, 2013


Grub stands for GRand Unified Bootloader.It is the default bootloader in linux platforms.

In this tutorial i will tell you how to put password for grub loader 

Because security is very important in linux platform,any one can logon into the linux system into single user mode and they will change the root password easily.

so to prevent these we will protect the GRUB by password 

In here I am using Redhat 6,the procedures are same for Fedora 6,Centos 6,scientific Linux 6

Step 1: Login as root user
            
            $ su

Step 2: Add password to grub
Type the following command in terminal

           grub-md5-crypt



Type  the password and again retype password
copy the password

Step 3: Add the password to Grub file

Edit the grub file 

          #vi /boot/grub/grub.conf



Add the copied password after the hiddenmenu line in configuration file

password --md5 [*********pass******]



Step 4: Testing

Save the file and restart the system 
Enter into the grub menu it will ask for password



Thats it...........
-->
Categories:

0 comments:

Post a Comment