当前位置: 技术问答>linux和unix
急救!!——忘记了linux登陆密码,有办法进去吗?
来源: 互联网 发布时间:2014-11-23
本文导语: 本机是一台服务器,突然停电后想检查机子,但进不去了——密码忘了!(因为很久都没重启过)各位大虾,救命啊!!!!!!! | use recover disk to start mount the HD in the /mnt and change t...
本机是一台服务器,突然停电后想检查机子,但进不去了——密码忘了!(因为很久都没重启过)各位大虾,救命啊!!!!!!!
|
use recover disk to start
mount the HD in the /mnt and change to the .../etc, modified the passwd
root::........
restart and OK!
mount the HD in the /mnt and change to the .../etc, modified the passwd
root::........
restart and OK!
|
linux 1模式试一下
|
lilo的地方输入: linux 1 或者 linux single
单用户模式进去相当于root权限,可以改密码,呵呵
单用户模式进去相当于root权限,可以改密码,呵呵
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。