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

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

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

1.jpg

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

2.jpg


After connecting, click the button to send “ctrl+alt+del”, 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. After entering, the interface is as shown below. 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 boot:

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