autorenew

Fixing VMware Linux VM User Login Authentication Failure

1. Reference Article

I referenced this article: https://blog.csdn.net/only_a_Heroic_car/article/details/119113789

However, my situation differs in that I’m using VMware ESXI, and my operating system is Oracle Linux. Nevertheless, the operation steps are similar, and their method indeed solved my problem.

2. Specific Steps

2.1 Restart the system, and when the boot screen prompts within three seconds, press “e” to enter the following interface:

Boot Menu

2.2 Continue pressing “e”, enter the following interface, and select the second item:

Kernel Selection

2.3 Then press “e” to get to the following interface:

Edit Kernel Parameters

2.4 After “rhgb quiet”, add a space and then enter 1 as shown:

Add Single User Mode Parameter

2.5 Press Enter to return to this interface:

Confirm Screen

2.6 Then press “b” to boot. The following interface will appear. Enter the command to reset the login account password and restart the system.

passwd root/other—login account

Note: init 6

Reset Password

2.7 Done!

This method really solved my problem well and allowed my virtual machine to return to normal.