Question

a) Can you password protect GRUB? If you can, why would you want to do this?...


a) Can you password protect GRUB? If you can, why would you want to do this?
b) Describe how would you go about adding a password?
c) If your GRUB gets corrupted, what command can you execute to rebuild it?
d) What does the GRUB acronym stand for? How many versions are there as of this semester?
e) Describe what the GRUB root partition is.
f) What does the command grub2-install command do

Homework Answers

Answer #1

a) Yes we can password protect it. We sholud password protect it because using live OS like Ubuntu live one can easily access our files and can steal our data. Also the session login password can easily be changed using commands without need to login it even at once. So without GRUB password , security of the system is very low.

b) To add a password, enter this command sudo grub-mkpasswd-pbkdf2 in terminal. Then set password as it will prompt to enter it. A key will be generated. Copy that key.

Now enter command sudo nano /etc/grub/grub.cnf in terminal and write these lines at the end:

set superusers="root"
password_pbkdf2 root copied_key

Save it and close it, then enter this command sudo grub-mkconfig -o /boot/grub2/grub.cfg

The system will reboot now and now there is a password on the GRUB

c)  

sudo update-grub
sudo grub-install /dev/sda
sudo update-grub
sudo reboot

d) GRUB stands for GRand Unified Bootloader . There are 2 versions of GRUB

e) GRUB root partition contains GRUB configuration files. Note:- Root partioton of OS is different than GRUB root partiotion

f) This command installs GRUB on the storage or boot sector.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
can you answer this essay questions 1. Describe three of the key knowledge areas that define...
can you answer this essay questions 1. Describe three of the key knowledge areas that define what a practitioner of business analysis needs to understand and the tasks they must be able to perform? 2. What does the acronym RFP stand for, describe the major elements of an RFP, and explain the advantages of using one?
linux Using dpkg or apt, what would be the full command you would use to find...
linux Using dpkg or apt, what would be the full command you would use to find out if the python package was installed? This is tricky because Python’s actual package name is python3. $ If it is installed, what version is installed according to the dpkg or apt output? If it wasn’t installed, can you install it? What command would you use to do this? $ 2. Using dpkg, what would be the full command you would use to determine...
describe what you see would be your role in a medical facility to protect the patient...
describe what you see would be your role in a medical facility to protect the patient and your employer. by practicing hippa rules and regulations. give informative examples on how you would practice good hippa etiquette
: Why would introducing “protective tariffs to protect domestic labor” cause a “quieting down of socialist...
: Why would introducing “protective tariffs to protect domestic labor” cause a “quieting down of socialist efforts”? What are tariffs? How do they affect domestic labor? How does this undermine the socialists (i.e. quiet down socialist efforts)?
Describe four strategies you can personally engage in to reduce environmental pollution to protect your own...
Describe four strategies you can personally engage in to reduce environmental pollution to protect your own health. What are the barriers for implementing these strategies? Do you feel that environmental causes are important and why or why not?
Do you think friends can influence one to take alcohol/drugs? If yes, how may one protect...
Do you think friends can influence one to take alcohol/drugs? If yes, how may one protect himself/herself from such an influence.
Do you think friends can influence one to take alcohol/drugs? If yes, how may one protect...
Do you think friends can influence one to take alcohol/drugs? If yes, how may one protect himself/herself from such an influence.
Do you think friends can influence one to take alcohol/drugs? If yes, how may one protect...
Do you think friends can influence one to take alcohol/drugs? If yes, how may one protect himself/herself from such an influence.
Do you think friends can influence one to take alcohol/drugs? If yes, how may one protect...
Do you think friends can influence one to take alcohol/drugs? If yes, how may one protect himself/herself from such an influence.
Do you think friends can influence one to take alcohol/drugs? If yes, how may one protect...
Do you think friends can influence one to take alcohol/drugs? If yes, how may one protect himself/herself from such an influence.
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT