Thứ Tư, 24 tháng 12, 2008 vào lúc 13:45 |  
Login as root and execute 'grub' command in terminal/console. prompt will change to 'grub>'
execute md5crypt to generate password hash.
code:
grub> md5crypt

it will prompt you for password, enter the password which you are going to set for GRUB. it will display encrypted password hash.
code:
Password: ******
Encrypted: $1$jxcdN0$hVHViq1aiPf8FziuGJGZp0
note down encrypted password hash and exit grub mode:
code:
grub> quit
edit /boot/grub/grub.conf file and insert encrypted password in between "splashimage" and "title" lines
code:
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
password --md5 [password-hash]
title CentOS 5
save edited file and reboot.
Người đăng: Linh Phan

0 nhận xét:

Visit the Site
MARVEL and SPIDER-MAN: TM & 2007 Marvel Characters, Inc. Motion Picture © 2007 Columbia Pictures Industries, Inc. All Rights Reserved. 2007 Sony Pictures Digital Inc. All rights reserved. blogger templates