重启Linux系统进入引导界面,按键盘 e 键进入内核编辑界
RHEL 7重置root密码
在linux16参数行按 ctrl+e 光标定位到末行,输入“rd.break"参数,按 ctrl+x
RHEL 7重置root密码
进入系统的紧急求援模式,依次输入命令
mount -o remount,rw /sysroot
chroot /sysroot
passwd
touch /.autorelabel
exit
reboot
RHEL 7重置root密码
重新启动系统,输入新密码就完成了

相关文章:

  • 2021-11-07
  • 2022-01-22
  • 2021-09-27
  • 2021-09-27
  • 2021-09-13
  • 2021-12-16
猜你喜欢
  • 2021-09-21
  • 2021-07-07
  • 2022-12-23
  • 2021-09-12
  • 2022-02-07
  • 2021-07-03
相关资源
相似解决方案