Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Linux Software => Linux Installation Support => Topic started by: shipoin_97 on November 29, 2005, 03:05:56 AM

Title: Change Grub Password
Post by: shipoin_97 on November 29, 2005, 03:05:56 AM
DeAr Brother ,

If i set my Grub or Root Passwd in /etc/grub.conf  manually then what i will do .........plz help me

Here i mention that i don't set my grub/root passwd during installation .
Title: Change Grub Password
Post by: Ricky on November 29, 2005, 04:12:58 AM
just edit the following line in config file..

Code: [Select]
password <the new password here>

Also if you want you can use encrypted password. To generate encrypted password enter the grub command line, either by pressing 'c' in the menu or by running 'grub' under Linux, then run the command 'md5crypt'. Enter your password, it will give you the encrypted form.
 
and now the line should like
Code: [Select]
password --md5 <now here the encrypted password>

Hope I am clear !