December 17, 2017, 06:02:52 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: grub password  (Read 2372 times)

Offline truliar

  • New Member
  • Posts: 3
grub password
« on: September 11, 2010, 04:34:55 AM »
hiiii,.,.heya i've to use my grub passwd  in linux mint,.,.tel me hw cud i ???i dn knw whr the grub file is in this???

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
Re: grub password
« Reply #1 on: September 12, 2010, 06:00:37 AM »
Use md5crypt to encrypt password:

At commad prompt type and then you will get the grub prompt :


#grub
Type md5crypt there: ( to crypt the password to md5)
grub> md5crypt
Password: ******                   -----> Give any password here , it will make crypt using md5
Encrypted: $1$jxcdN0$hVHViq1aiPf8FziuGJGZp0

Copy down encrypted password:
$1$jxcdN0$hVHViq1aiPf8FziuGJGZp0

Exit grub mode:
grub> quit

Modify file /etc/grub.conf:

vi /etc/grub.conf

Insert encrypted password in between "splashimage..." and "title...":
...
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
password --md5 $1$jxcdN0$hVHViq1aiPf8FziuGJGZp0
title Linux red hat

Offline truliar

  • New Member
  • Posts: 3
Re: grub password
« Reply #2 on: September 12, 2010, 08:24:56 AM »
heya thers no such thng in linux mint 9,.,. ??? ???

Offline truliar

  • New Member
  • Posts: 3
Re: grub password
« Reply #3 on: September 12, 2010, 08:27:07 AM »
????wat i do knw????heya ru on fbk ??