Linux application skills to reset the root password

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/AMimiDou_212/article/details/89152430

RHEL (CentOS 7) Reset the root password

linux operating system, colleges, school is the network operating system, felt very strange, curious, learning a CentOS 7, beginning to understand its powerful rights management, and real understanding to root (root), I feel like it God, omnipotent, but the reason the middle of other disciplines, set aside half a year, suddenly want to toss down my super powers, found the landing do not go in, making for a ghost, my root actually so bad (forgotten) , then refer to some information, reset the root password, I found very interesting, but why, what does it mean? Persevere to find the cause, then we see a lot of materials to find the reason of them. Read on

First, reboot the system, view system version information

Here Insert Picture Description

Second, the kernel edit mode, edit the kernel, run rescue mode

Here Insert Picture Description

Guess you like

Origin blog.csdn.net/AMimiDou_212/article/details/89152430
Recommended