This topic describes the symptoms, causes, and solutions for when a new password for a Simple Application Server does not take effect after a reset.
Symptoms
The new password does not take effect after being reset in the Alibaba Cloud Simple Application Server console.
When you try to log on remotely with the Administrator account and the new password, you receive an error message such as Login failed. Please check if the account and password are correct.
Causes
-
You did not restart the instance after resetting the password.
-
Third-party security software hardens system files and prevents a successful password change.
-
You tried to change the password of a non-administrator account in the console. The administrator account name depends on the operating system:
-
Linux: The administrator account is
root. -
Windows: The administrator account is
Administrator.
-
Solutions
Follow the solution that matches your scenario. Before performing high-risk operations, such as modifying data or restarting an instance, create a snapshot to prevent data loss. For more information, see Manage snapshots.
Solution 1: Restart the instance
After resetting the password, you must restart the instance for the new administrator password to take effect. Restart the instance from the Simple Application Server console. For more information, see Manage server passwords.
Solution 2: Remove third-party security software
If you have third-party security software installed on your Simple Application Server, it may prevent the password change from succeeding. Uninstall the security software, and then reset the password again.
Solution 3: Reset a non-administrator password
You cannot use the Simple Application Server console to change the password for non-administrator accounts. To modify the password from within the operating system, use the rescue feature for Linux instances. For more information, see Connect to a Linux server by using the rescue feature.