Command to Set Boot Loader Password in Linux

Share this article with your friends

GRUB (GRand Unified Bootloader) is a boot loader package from the GNU Project. GRUB provides a user the choice to boot one of multiple operating systems installed on a computer or select a specific kernel configuration available on a particular operating system’s partitions.

Step:1 Command To Generate Password for GRUB


Now Copy this encrypted password and add the password entry in the grub.conf file as shown below :

 [root@localhost ~]# vi /boot/grub/grub.conf


Step:2 Now Reboot Linux Machine and Go To Boot Loader Screen as show below where you can not go to grub prompt unless you press p and type the correct boot loader Password


Free Download Linux e-Books

You may also like...

Leave a Reply

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