精華區beta Linux 關於我們 聯絡資訊
妞妞 撰寫於文章 <3VKeFJ$GPI@bbs.ee.ntu.edu.tw>... >請問一下, 如果忘了root密碼要怎麼辦? >-- Tim 撰寫於文章 <378205AD.E75F5882@hotmail.com>... >cuz i forget the root password, >so now i need to use book disk to boot >i think the kernel in the floopy disk does not probe the scsi harddisk >what can i do now? Well, it is not necessary to use boot disk if you forgot your root password (only). 1, Please try 'linux -s' when it prompts 'LILO boot:' 2, You may (not sure, good luck here) get a 'bash#' prompt 3, Type 'passwd root' to assign root a new password 4, Type 'exit' when done 5, Login as 'root' with the new given password 6, Please remember your new password :) Note: The procedrues were just tested on my Redhat5.2 (kernel 2.0.36) system, it worked! Good luck!