No Comments on Centos7重置root密码Posted in Linux By duncan21Posted on 2021 年 6 月 7 日Tagged passwd, 重置密码 Post Views: 129 1)启动Linux Centos7系统,当出现如下画面时,直接按“e”键继续 2)在如下截图的位置,添加“rw single init=/bin/bash”,添加后按“Ctrl + x”引导系统 3)在如下截图位置,即可输入“passwd”来重置root密码了 4)运行命令“exec /sbin/init”来正常启动系统,需要输入修改后的root密码 5)进入系统后,输入命令“reboot”即可重启系统 Centos7重置root密码