ITPub博客

首页 > Linux操作系统 > Linux操作系统 > linux系统root密码忘记了怎么办

linux系统root密码忘记了怎么办

原创 Linux操作系统 作者:梦共里醉 时间:2020-04-10 14:02:04 0 删除 编辑
本文档介绍破解 RHEL7.3 的 root 密码的高效方法,其实这也叫做重置密码。
实战

开机,按任意键停住启动界面,然后选择对应的内核,按 e 进行编辑

破解 RHEL7.3 的 root 密码破解 RHEL7.3 的 root 密码

找到 linux16这一行,在最后输入 rd.break

破解 RHEL7.3 的 root 密码破解 RHEL7.3 的 root 密码

按 Ctrl-x 启动,然后按照以下操作破解 root 密码

mount -o remount,rw /sysroot
chroot /sysroot
passwd
touch /.autorelabel
exit
reboot

破解 RHEL7.3 的 root 密码破解 RHEL7.3 的 root 密码

总结

以上就是破解 RHEL7.3 的 root 密码的详细过程,这些操作望各位谨慎操作。

本文原创地址: https://www.linuxprobe.com/crack-root-password.html 编辑:传棋,审核员:逄增宝


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/31524109/viewspace-2685424/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2018-03-07

  • 博文量
    476
  • 访问量
    295657