歡迎您光臨本站 註冊首頁

破解linux root密碼

←手機掃碼閱讀     火星人 @ 2014-03-09 , reply:0
大家看我的grub
我是雙系統 注意以下我標註的那一行
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,0)
# kernel /boot/vmlinuz-version ro root=/dev/hda1
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=3
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title Red Hat Linux (<?XML:NAMESPACE PREFIX = ST1 />2.4.18-14)
root (hd0,0)
kernel /boot/vmlinuz-2.4.18-14 ro root=LABEL=/ 此行被標註
initrd /boot/initrd-2.4.18-14.img
title Microsoft Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
root (hd1,0)
chainloader (hd1,0) 1
makeactive
boot
在kernel那一行中 kernel /boot/vmlinuz-2.4.18-14 只保留這些 然後在後面加上一個 1
表示linux 啟動級別為1 這樣就可以進入系統了
然後輸入 passwd 就可以改密碼了


[火星人 ] 破解linux root密碼已經有268次圍觀

http://coctec.com/docs/security/show-post-59050.html