GRUB has already discussed on several occasions, but perhaps not everyone knows that This excellent boot manager, which start automatically with some of the most popular Linux distro (eg. Ubuntu), is equipped with advanced features for safety that allows all of us to sleep more relaxed, much more relaxed about the degree of confidentiality and privacy of data of the OS.
So if you have not yet understood, we will see how to enable a password to boot the operating systems through GRUB. Need to do some 'of "hacking' in the terminal, but nothing quite tremendous. Here's how:
- Open the terminal
- Type sudo grub and press the Enter key
- Key md5crypt, press the Enter key, type your password and pin somewhere the output of command (because it is the password you have to use)
- Create a backup copy of the file /boot/grub/menu.lst
- Back in Terminal, type sudo gedit /boot/grub/menu.lst and press the Enter key
- Go to the line preceding the written BEGIN AUTOMAGIC KERNEL LIST and paste password-md5 [the result of the previously noted] (as you can see from the screenshot that opens this post)
- Go to the row that happens the writing on each bootable system (ie: "title Windows Vista / Longhorn loader") and paste lock (as you can see from the screenshot a few lines above)
- Save the file and restart the computer.
That's all, folks! From now on, to access your operating system and to edit the GRUB menu anyone will need to enter a strong password. And then they say that maintaining a secure operating system is a difficult task
Bookmarks