红帽(RHEL)Linux 忘记root密码后重置密码
来源:互联网 发布:网络连接该文件夹为空 编辑:程序博客网 时间:2024/04/28 22:53
方法一:以single模式进入字符界面重置密码
1:系统开机出现如下画面时:
2.按e键进入如下:
3.按e键进入如下:
4.按e键进入如下:
5.在末尾加上字符“ single” (注意空格)
6.按回车进入如下:
7.按b键引导系统进入如下:
8.输入修改密码命令:passwd root
9.密码修改结束后重启
10.重启开机后可使用root账户密码成功登入
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
方法二:以其它用户登入并使用sudo命令修改root用户密码
1.[huqp@vmhost root]$ sudo passwd root
2.[sudo] password for huqp:
---------------输入完成之后若提示“huqp is not in the sudoers file. This incident will be reported.”,
---------------则参考博文:xxx is not in the sudoers file. This incident will be reported 的解决方法
3.Changing password for user root.
New UNIX password:
4.BAD PASSWORD: it does not contain enough DIFFERENT characters
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
提示修改成功!!!
- 红帽(RHEL)Linux 忘记root密码后重置密码
- 忘记root密码后如何重置(linux)
- 红帽Linux忘记root密码怎么办
- 红帽Linux忘记root密码怎么办
- rhel 忘记root密码
- Mysql忘记root密码后如何重置
- [Grafana--重置密码]--Linux下忘记密码后重置密码
- linux忘记root 密码如何重置
- linux 忘记root密码下的重置
- linux 忘记root 密码,如何重置
- linux(ubuntu为例) 忘记root后的重置密码
- Centos系统忘记root密码后重置(linux运维笔记)
- 重置rhel的root密码
- Mysql 5.7 Root密码忘记回复(重置root密码)
- Mysql root 用户密码忘记后重置root密码
- MySql root 用户密码忘记后重置root密码
- linux下忘记mysql密码,重置root密码
- centos7忘记root密码重置
- POJ 2614 Old Wine Into New Bottles 笔记
- 触摸屏幕,滚动页面内容到底部,上拉刷新显示数据
- 一天
- ArrayList
- [勇者闯LeetCode] 129. Sum Root to Leaf Number
- 红帽(RHEL)Linux 忘记root密码后重置密码
- Visual Studio Community 2017中修改ASP.NET MVC项目中类名称空间的一点注意事项
- sudo 的配置详解
- 凸函数1(斯坦福凸优化笔记5)
- Cleaning Shifts POJ
- React总结4:HTML 标签对比 React 组件
- 命令行执行java文件
- 《机器学习实战》学习笔记-[1]-K近邻_第一个分类器
- 第一部分 介绍