November 28, 2024, 06:40:21 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Change Grub Password  (Read 6056 times)

Offline shipoin_97

  • Tux Awared
  • **
  • Posts: 44
Change Grub Password
« 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 .

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Change Grub Password
« Reply #1 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 !