当前位置:网站首页>Redhat7 cracking (resetting) root password
Redhat7 cracking (resetting) root password
2022-06-09 08:59:00 【Dada Liu__】
Crack ( Reset )root password
Reset the system root The account password is thuctive, Make sure you can use root Sign in .
1. Turn it on ( Or restart ) appear grub Press any key during the menu to terminate the startup process , Edit in memory GRUB Loaded entries ,
After the kernel has just mounted all the file systems , But in handing over control to systemd Before terminating the startup process .

2. Press e Key edit GRUB Current entry , find Linux This business , Press End Key to end of line , take rd.break Append to end of line ,
Then press Ctrl+x Boot system , If there is something selected by the yellow box in the following figure , Please be sure to delete .

3. Reset root password
①mount -o remount,rw /sysroot/
②chroot /sysroot
③echo “thuctive”|passwd --stdin root
④touch /.autorelabel
⑤ exit
⑥exit
And then we'll go into SELinux The interface of automatic re tagging ,
The time depends on the number of system files and the performance of the machine , Be sure to restart after it finishes typing the label .
4. It's over SELinux label , Normal startup to login interface , Use new password thuctive Login successful .
边栏推荐
- 汇编_常用指令
- 安科瑞企业微电网能效管理平台推动电网向能源互联网升级
- C language pointer
- Use of cookies, sessions and tokens in web development of system development series
- Nodejs使用Net模块创建TCP服务器和客户端
- Remote prepayment management system helps property management solve the problem of difficult charging and statistics
- [program life] internet job division; Internet development process; Division of responsibilities
- 10 个派上用场的 Flutter 小部件
- RMAN backup concept_ About image copy
- May 29, 2022 16:05:09
猜你喜欢

Compilation_ Common instructions

防火门监控系统对防火门状态进行24小时实时自动巡检

Shared network port settings for Dell Idrac express version

C language pointer

安装mysql保姆级教程

Compilation_ Basic concepts

【无标题】

85. (leaflet house) leaflet military plotting - line arrow drawing
![[texstudio] [1] fractional dfrac, tfrac undefined control square error](/img/c4/ef1b8097fb78210fc922e7e9a42234.jpg)
[texstudio] [1] fractional dfrac, tfrac undefined control square error

模拟面试策划书;校园模拟面试策划书;求职模拟面试大赛策划书;经管学院模拟求职大赛策划书;大学生模拟面试大赛策划书
随机推荐
[untitled]
Simple use of vim
腾讯云宝塔搭建网站注意事项
认识了一位大佬!
10种提问型爆文标题句式 直接套用
English grammar_ Adverb of place
安科瑞配电室综合监控系统实现配电室内环境的在线监测,保障配电室设备的安全运行
2022年5月29日16:05:09
汇编_常用指令
文件排序 (拓展)
Configuring the environment for RMAN backups_ Configure advanced backup options
编辑器说明-备用
单元测试中遇到的怪事
[program life] internet job division; Internet development process; Division of responsibilities
安科瑞企业微电网能效管理平台推动电网向能源互联网升级
RMAN backup concept_ About backup retention policy
常用windwos api
选择器误区
Compilation_ Common instructions
編輯器說明-備用