linux 开机修改root用户密码

Reboot to revise the password

这是针对root用户开机忘记登陆密码的一个重置密码方法

一 enter

Pressing the button enter in the reboot or start the Linux system
在这里插入图片描述

二edit

According to the declare , we press the button e to edit.
在这里插入图片描述

三 select the kernel to edit

Use the button up or down to select the item ,we select the kernel and then press the button e to edit
在这里插入图片描述

四 edit

Appending the 1 or s (single) to the cursor .
在这里插入图片描述
Pressing the button enter to complete the edit .

五 into security mode

在这里插入图片描述
Pressing the button b to start the Linux entering the security mode .
在这里插入图片描述

六 allocate the the password

在这里插入图片描述

七 change the run level to reboot the system

Displaying the current level
在这里插入图片描述
Command : init 3 (convert to normal mode)
在这里插入图片描述
Input you password enter Linux
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/youku1327/article/details/82824763