Password Protect Grub2 with GrubPassword on Ubuntu 12.04


I shared how to Easily Reset your Linux User account password from grub. After that post many people wrote me so Linux is really unsecured (How we can protect this?). So it is not a big issue to secure grub or how to secure your user account in Linux. So I decided to make a tutorial on 'grubpass' utility, which can protect your grub entries. Nobody can bypass grub2 without enter grub username and password. Ya it's looks like awesome utility. Grubpass 1.2 version utility uses password encryption to protect.

So Now we start how to protect grub entries with password. I have uploaded to dropbox so it is easy to download and install. You also can download deb package and tar.gz package fromAuthor Page.

To Install it on Ubuntu/Linux Mint open Terminal (Press Ctrl+Alt+T) and enter the following commands in the Terminal:
  • wget http://dl.dropbox.com/u/53319850/NoobsLab.com/grubpass.deb
  • sudo dpkg -i grubpass.deb
Now start Grubpass with following command:
  • sudo grubpass
How to use Grubpass see ScreenShots: (click image to enlarge)

1: Installation Complete
grub2 password

2: Start GrubPass
grub2

3: How to set password
Protect grub2

4: Create username for grub
grub2 secure

5: Follow password steps in-order to set password on grub entries
ubuntu grub2

6: Apply password on specific or all grub entries
grub2

7: Finally you are done
grub2

How to Remove Password from Grub Entries?

It is really easy just enter following command and see ScreenShots.
  • sudo grubpass
1: Now enter recover (See picture)
grub2

2: Finally enter yes/no
fedora grub

0 comments:

Post a Comment