VCSA 7.0 重置root密码

1、重启VCSA ,
2、在GNU Grub 界面按 “e” , 如下图输入:
     if 的上一行末尾 添加 rw init=/bin/bash

3、. 执行ctrl + x启动,进入以下界面。

4、 重新挂载根分区

mount -o remount,rw /

5、. 重置root密码

passwd root

6.写入文件

touch /.autorelabel

7. 重启VCSA

reboot -f:

原文地址:https://www.cnblogs.com/northlander/p/15692617.html