Open main menu

CDOT Wiki β

Changes

OPS235 Lab 2 - Fedora17

14 bytes added, 11:02, 20 January 2010
Investigation 5: How do You Secure the Grub Boot Loader?
# Choose a suitable password.
# Open the grub program by typing the command: <code>grub</code>
# At the grub prompt, type in the command: <code>md5crypt</code>
# When prompted for a password, carefully type in your password. The program will display the encrypted hash of your password. Carefully write down the encrypted has.
# Type the command: <code>quit</code> to exit the grub program.
# Open the grub configuration file, <code>/etc/grub.conf</code> for editing. (This file is actually linked to /boot/grub/grub.conf).
# Carefully add the line: <code>password --md5 ''password-hash''</code> (note: ''password-hash'' is the hash you generated with md5crypt) Place this line between the splashimage line and the title line. If there are other lines there, there is no need to remove them. Just insert your password line as a new line.
# Make sure you have not made a mistake. What you type in must match exactly the output from the md5crypt command.
9
edits