在启动菜单按e进入编辑,在末尾加入rd.break ,Ctrl+x启动

然后按照下面步骤修改
mount –o remount,rw /sysroot
chroot /sysroot
echo “需要设置的密码” |passwd –stdin root

也可以password root  密码
  touch /.autorelabel
  exit
  exit

相关文章:

  • 2021-11-21
  • 2021-11-21
  • 2021-11-21
  • 2021-11-21
  • 2021-06-17
  • 2021-12-30
  • 2021-07-13
猜你喜欢
  • 2021-12-03
  • 2021-12-03
  • 2021-05-02
  • 2021-12-03
相关资源
相似解决方案