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

Linux in General => Linux Kernel => Topic started by: truliar on September 11, 2010, 04:34:55 AM

Title: grub password
Post by: truliar 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???
Title: Re: grub password
Post by: gauravbajaj 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
Title: Re: grub password
Post by: truliar on September 12, 2010, 08:24:56 AM
heya thers no such thng in linux mint 9,.,. ??? ???
Title: Re: grub password
Post by: truliar on September 12, 2010, 08:27:07 AM
????wat i do knw????heya ru on fbk ??