Set an initial login password or reset a forgotten one for your Simple Application Server instance.
Prerequisites
-
For an Change Offline, the instance must be in the Running or Stopped state.
-
For an Change Online, both the instance and Command Assistant must be in the Running state, and the Command Assistant version must meet the following requirements:
-
Linux: 2.2.3.398 or later.
-
Windows: 2.1.3.398 or later.
-
Limitations
Offline password change applies to the administrator account only:
-
Linux:
root -
Windows:
administrator
Procedure
-
Go to the Servers page in the Simple Application Server console.
-
On the target instance card, click Reset Password.
-
In the Reset Password dialog box, set the following parameters.
Parameter
Description
Logon Name
Fixed value:
-
Linux:
root. -
Windows:
administrator.
New Password
Must be 8–30 characters and include at least three of the following:
-
Lowercase letters (a-z)
-
Uppercase letters (A-Z)
-
Digits (0-9)
-
Special characters:
( ) ` ~ ! @ # $ % ^ & * - _ + = | { } [ ] : ; ' < > , . ? /.
Important-
For Windows instances, the password cannot start with a forward slash (/).
-
To prevent brute-force attacks, use a strong password and change it regularly.
Enter Password Again
Re-enter the new password.
Password Change Methods
Select a method:
-
Change Online: Takes effect immediately. No restart required.
-
Change Offline: Takes effect after the instance restarts.
-
-
Click Confirm Reset.
-
After you click Reset Password, the next steps depend on the method you selected:
-
Change Online: A Password set successful message confirms the reset.
-
Change Offline: Choose whether to restart now.
-
To restart immediately: Click Restart Now. The password takes effect after the restart.
WarningThe restart operation stops the instance for a short period of time and may interrupt services that are running on the instance. We recommend that you restart the instance during off-peak hours.
-
To restart later: Click Do Not Restart. Restart the instance manually during off-peak hours for the password to take effect.
-
-
FAQ
Why can't I log on after an online password change?
Third-party antivirus software can block the Change Online operation. If this occurs, use Change Offline or call the UpdateInstanceAttribute API operation to reset the password. Restart the instance and try again.
Why is the instance password changed automatically?
Frequent, automatic password changes can indicate malicious scripts or mining programs. Use the Security Center console to investigate and resolve the issue.
Related topics
For stronger security, use SSH key pairs instead of passwords for Linux instances. Manage key pairs (Linux).