Linux破解密码

1.centos6单用户模式:
开机任意键;e, kernel; e;空格键入  1 or s or S or single,回车; b 。

2.centos 7破解密码:
开机任意键; e,将 ro 改为 rw init=/sysroot/bin/sh,ctrl+x;
依次输入:chroot /sysroot 回车,passwd root 回车 ,touch /.autorelabel,exit,reboot

3.ubuntu修改root密码:
ESC -recovery mode 键入e–把ro recovery nomodeset 改成rw single init=/bin/bash,F10

。。。

发表回复