+ -
当前位置:首页 → 问答吧 → red hat 9 shrike

red hat 9 shrike

时间:2014-05-29

来源:互联网

十年前server冇左root password
又入唔到single user mode 不入就 load好耐都唔出prompt
有冇办法入到system? 冇其他user 即系冇得su

作者: andrewcpy1   发布时间: 2014-05-29

引用:原帖由 andrewcpy1 於 2014-5-20 10:52 AM 发表
十年前server冇左root password
又入唔到single user mode 不入就 load好耐都唔出prompt
有冇办法入到system? 冇其他user 即系冇得su



重装系统。

作者: LAHarry   发布时间: 2014-05-29

可保留之前软件?

作者: andrewcpy1   发布时间: 2014-05-29

Red Hat has 3 ways to reset the password
1. Booting into single user mode.
2. Using boot disk and edit password file.
3. Mount drive to another system and change password file.

http://java.dzone.com/articles/reset-root-password-centosred
http://fedoraproject.org/wiki/How_to_reset_a_root_password
http://linuxgazette.net/107/tomar.html
https://access.redhat.com/site/d ... S_File_Systems.html


PS: if you "重装系统", you will lost everything.

作者: adammakhk   发布时间: 2014-05-29

That's why I don't want reinstall
But why I cannot get into system by single user mode? Can it be disable from the very beginning ? If so the only way is to mount it with another Linux? Can it do it under windows environment?

作者: andrewcpy1   发布时间: 2014-05-29

you can use option 2 and 3

go to those link and follow them.
PS. read all the link before do. (Always)

作者: adammakhk   发布时间: 2014-05-29