Linux in General > Linux Kernel

grub password

(1/1)

truliar:
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???

gauravbajaj:
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

truliar:
heya thers no such thng in linux mint 9,.,. ??? ???

truliar:
????wat i do knw????heya ru on fbk ??

Navigation

[0] Message Index

Go to full version