Chinaunix首页 | 论坛 | 博客
  • 博客访问: 101901931
  • 博文数量: 19283
  • 博客积分: 9968
  • 博客等级: 上将
  • 技术积分: 196062
  • 用 户 组: 普通用户
  • 注册时间: 2007-02-07 14:28
文章分类

全部博文(19283)

文章存档

2011年(1)

2009年(125)

2008年(19094)

2007年(63)

分类: LINUX

2008-04-25 15:31:48


 
版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://beyondbest.blog.51cto.com/313501/61828
[root@beyond ~]# /sbin/grub-md5-crypt
Password:
Retype password:
$1$tKjdM$WH5Aq18eshWF9JhQ9NVBC0
[root@beyond ~]# vi /boot/grub/grub.conf
[root@beyond ~]# vi /boot/grub/grub.conf
[root@beyond ~]# cat !$
cat /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/sda2
#          initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
password --md5 $1$tKjdM$WH5Aq18eshWF9JhQ9NVBC0
hiddenmenu
title Red Hat Enterprise Linux AS (2.6.9-42.ELsmp)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-42.ELsmp ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.9-42.ELsmp.img
title Red Hat Enterprise Linux AS-up (2.6.9-42.EL)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-42.EL ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.9-42.EL.img
以上过程完成grub密码的MD5加密
破解linux grub 密码
首先输入第一张光盘输入 linux rescue
切换当前的根目录:chroot /mnt/sysimage
删除 grub.conf 里的MD5加密密码即可

本文出自 “我爱家驹---驹魂余辉” 博客,请务必保留此出处http://beyondbest.blog.51cto.com/313501/61828

阅读(835) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~