【骚操作】破解 CentOS Linux 开机密码 发表于 2020-06-09 更新于 2023-06-10 阅读次数: 前言破解RedHat系列Linux开机密码 修改启动参数 开机后,在进入登录界面前的命令行界面时,按e键进入启动参数编辑界面 将光标移到linux16 /vmlinuz ...行,在末尾追加 rd.break console=tty0 ctrl+x保存并退出 修改新密码 <password>:新密码 12345mount -o remount,rw /sysrootchroot /sysroot/echo <password> | passwd --stdin roottouch /.autorelabelexit 完成 重启系统 1reboot