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:
it will prompt you for password, enter the password which you are going to set for GRUB. it will display encrypted password hash.
code:
code:
code:
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: ******note down encrypted password hash and exit grub mode:
Encrypted: $1$jxcdN0$hVHViq1aiPf8FziuGJGZp0
code:
grub> quitedit /boot/grub/grub.conf file and insert encrypted password in between "splashimage" and "title" lines
code:
splashimage=(hd0,0)/boot/grub/splash.xpm.gzsave edited file and reboot.
password --md5[password-hash]
title CentOS 5
Người đăng:
Linh Phan
0 nhận xét:
Đăng nhận xét