Start the centos8 virtual machine and press the up and down keys to select the first line in the interface in Figure 1 As shown in Figure 1 Press the 'e' key to enter the interface shown in Figure 2, and move the down arrow key to the line that begins with "linux16". Then press the right arrow key to move, find "ro" and change it to " As shown in Figure 2 As shown in Figure 3 Press and hold the Ctrl and x keys at the same time, and the system will enter the following interface, which is the emergency mode. As shown in Figures 4 and 5. As shown in Figure 4, the waiting time for this interface is relatively long, so you need to wait patiently.
4. Run the command " /# chroot /sysroot/ /# LANG=en (Change the language to English) /#passwd /# touch /.autorelabel As shown in Figure 6
As shown in Figure 7 6. Enter this interface and enter the newly set root password to log in successfully. As shown in Figure 8. As shown in Figure 8 7. Login successful and enter the centos8 system. As shown in Figure 9. As shown in Figure 9 At this point, the root password of the centos8 system has been modified! Summarize This is the end of this article about how to quickly change the root password under CentOS8. For more relevant centOS8 root password cracking content, please search 123WORDPRESS.COM's previous articles or continue to browse the following related articles. I hope everyone will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: How to draw the timeline with vue+canvas
>>: A brief analysis of the tutorial on installing MySQL 8.0.18 on CentOS 6.8 (RPM method)
1. Use .gifs rather than .jpgs. GIFs are smaller ...
Table of contents Preface What is Deno? Compariso...
Preface When installing the executable file of a ...
In a complex table structure, some cells span mul...
MySQL slow log is a type of information that MySQ...
This article example shares the specific code of ...
binlog is a binary log file that records all DML ...
Start the centos8 virtual machine and press the u...
js data types Basic data types: number, string, b...
<br />The Internet is constantly changing, a...
MySQL is an open source, small relational databas...
Knowledge point 1: Set the base URL of the web pa...
This article mainly introduces the sample code of...
1. Find the mysql image docker ps 2. Enter the mi...
1. Modify 1 column update student s, city c set s...