Elastic Cloud Linux system enters single-user mode through the console to reset the SSH login password (applicable to CentOS 6).

Published: 2014-12-12

For centos7 system password reset, please refer to:http://www.west.cn/faq/list.asp?unid=979 

Via Management Center - Business Management - Server Management - Management, as shown in the figure:

1.jpg

Then click “System Management”--“WEB Console”, as shown in the figure:

2.jpg


After connecting, click the “send ctrl+alt+del” button, as shown in the figure:

console2.png

After clicking, the system will restart. At this time, press the ESC key to enter kernel selection. You can keep pressing this key,

to prevent the system from restarting normally. The interface after entering is shown in the following figure. Select the first one and press the e key on the keyboard:

console3.png


Then use the arrow keys to select the second line and continue to press the e key, as shown in the figure:

console4.png


In the input box, enter a space, then enter single. After entering, press Enter directly to save,

then press the b key to start:

console5.png


After the system starts, enter passwd and press Enter. Enter the new password and press Enter, then enter it again to confirm,

and the password will be changed successfully.

console6.png

Finally, enter reboot to restart the server.

Also attached is a common password reset script for the wdcp system:http://faq.myhostadmin.net/faq/listagent.asp?unid=722