当前位置:网站首页>Redhat7系统root用户密码破解
Redhat7系统root用户密码破解
2022-07-03 05:39:00 【钟爱陈奕迅】
相信大家都使用过Linux系统吧,那么Redhat7大家都不陌生。大家都知道创建一台Redhat7的虚拟机的时候,需要配置root用户的密码,那么问题出现了,有时候呢会忘记root的密码,那怎么办呢。接下来就给大家分享一个破解密码的小方法。
1、重启虚拟机,当进入GRUB界面时按空格键,也就是下面这个界面

2、操作完之后呢看到界面下方,按“E”进入编辑模式,进入编辑模式找到linux16这一行

3、将光标移动到linux16这一行最前面,按“END”键跳到末尾,将末尾的rhgb到最后这一段字符删除,删除完输入空格 以及rd.break
4、输入完成之后,按住Ctrl+X,进入到一个“假系统”

5、执行以下操作
mount -o remount,rw /sysroot
chroot /sysroot/
passwd
touch /.autorelabel

6、操作完成后,输入两次exit退出,系统自动重启

7、正常进入系统,使用修改的root密码登录就可以了

边栏推荐
- Skip table: principle introduction, advantages and disadvantages of skiplist
- EMD distance - example of use
- Webrtc M96 release notes (SDP abolishes Plan B and supports opus red redundant coding)
- redis 遇到 NOAUTH Authentication required
- Transferring images using flask
- Source insight automatic installation and licensing
- Progressive multi grasp detection using grasp path for rgbd images
- Get and monitor remote server logs
- 期末复习(Day2)
- 3dslam with 16 line lidar and octomap
猜你喜欢

Configure DTD of XML file

Intégration profonde et alignement des séquences de protéines Google

Webrtc M96 release notes (SDP abolishes Plan B and supports opus red redundant coding)

Latest version of source insight
![[set theory] relational closure (relational closure related theorem)](/img/6a/b6dca7abf592f8d8ab1d6aecc43381.jpg)
[set theory] relational closure (relational closure related theorem)

Webrtc native M96 version opening trip -- a reading code download and compilation (Ninja GN depot_tools)
![[practical project] autonomous web server](/img/99/892e600b7203c63bad02adb683c8f2.png)
[practical project] autonomous web server

Map的扩容机制

Method of finding prime number

Primary school campus IP network broadcasting - Design of primary school IP digital broadcasting system based on campus LAN
随机推荐
(subplots usage) Matplotlib how to draw multiple subgraphs (axis field)
2022.7.2day594
Kubernetes resource object introduction and common commands (V) - (configmap)
About debugging the assignment of pagenum and PageSize of the formal parameter pageweb < T > (i.e. page encapsulation generic) in the controller
谷歌 | 蛋白序列的深度嵌入和比对
[Shangshui Shuo series together] day 10
【一起上水硕系列】Day 10
Source insight License Activation
ROS Compilation Principle
【无标题】
mapbox尝鲜值之云图动画
期末复习(DAY6)
NG Textarea-auto-resize
MySQL startup error: several solutions to the server quit without updating PID file
Webrtc native M96 version opening trip -- a reading code download and compilation (Ninja GN depot_tools)
Making coco datasets
Can altaro back up Microsoft teams?
Altaro o365 total backup subscription plan
Why should we rewrite hashcode when we rewrite the equals method?
期末复习DAY8