Results 1 to 3 of 3
Hi,
Just wondering what is the correct format and way to add my encrypted GRUB password to /boot/grub/menu.lst and how do I know/ensure the changes have worked? Thanks....
- 06-01-2007 #1Just Joined!
- Join Date
- Oct 2006
- Posts
- 24
What's the correct way/format to add my encrypted GRUB password to menu.lst?
Hi,
Just wondering what is the correct format and way to add my encrypted GRUB password to /boot/grub/menu.lst and how do I know/ensure the changes have worked? Thanks.
- 06-01-2007 #2
See info grub -- Security section.
(In code blocks to preserve formatting)
Code:Thus, GRUB provides a "password" feature, so that only administrators can start the interactive operations (i.e. editing menu entries and entering the command-line interface). To use this feature, you need to run the command `password' in your configuration file (*note password::), like this: password --md5 PASSWORD If this is specified, GRUB disallows any interactive control, until you press the key <p> and enter a correct password. The option `--md5' tells GRUB that `PASSWORD' is in MD5 format. If it is omitted, GRUB assumes the `PASSWORD' is in clear text. You can encrypt your password with the command `md5crypt' (*note md5crypt::). For example, run the grub shell (*note Invoking the grub shell::), and enter your password: grub> md5crypt Password: ********** Encrypted: $1$U$JK7xFegdxWH6VuppCUSIb. Then, cut and paste the encrypted password to your configuration file.
- 06-01-2007 #3
check this thread.
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


Reply With Quote