==> 在 <b86014. 的文章中提到:
: 果然是我最白爛 (gary.bbs@BirdNest.Dorm13.NCTU.edu.tw) 提到:
: : ※ 引述《vivaldi.bbs@bbs.mgt.ncu.edu.tw (雷利)》之銘言:
: : boot to single user mode -> modify the root passwd
: : save 後
: : 再下umount -a 那應該就可以了(把檔案系統re-MOUNT一次)
: 可是在我的機子上,在我 boot to single user mode 的時候,
: 它會去跑 sulogin ,就會問我 root's passwd ,那我不知道的
: 話,就進不去,又從何改掉這個密碼呢?
: : 這個問題其實還有好些解法,如:在別人的系統mount上後改掉那個/etc/passwd
: : 等等的,不過最基本的原理就是在不動到自己/etc/rc*的情形下
: : 把/etc/passwd給XX掉.:)
: 也可以用 rescue disk 開機,然後再 mount 上來改吧。
boot -s cdrom <-- sun machine
vi /etc/passwd