You can set a logon password for a simple application server after you create the server. You can reset the logon password for a simple application server if you forget the password. This topic describes how to set or reset logon passwords for simple application servers.
Prerequisites
If you want to update the password of a server offline, the server must be in the Running or Stopped state.
If you want to update the password of a server online, the server and Command Assistant must be in the Running state. In addition, the version of Command Assistant must meet one of the following requirements:
For Linux servers, the version of Command Assistant must be 2.2.3.398 or later.
For Windows servers, the version of Command Assistant must be 2.1.3.398 or later.
Limits
The offline password reset feature allows you to set or reset only the password of the server administrator account in the Simple Application Server console.
For Linux servers, the administrator account is
root
.For Windows servers, the administrator account is
administrator
.
Procedure
Log on to the Simple Application Server console.
In the left-side navigation pane, click Servers.
In the card of the desired simple application server, click Reset Password.
In the Reset Password dialog box, configure parameters based on your business requirements. The following table describes the parameters.
Parameter
Description
Server Administrator Account
Select an administrator account whose password you want to update. You can update the password of only one of the following administrator accounts:
Linux:
root
.Windows:
administrator
.
Server Password
Enter a password. The password must be 8 to 30 characters in length and contain at least three of the following character types:
Lowercase letters (a to z)
Uppercase letters (A to Z)
Digits (0 to 9)
Special characters including
( ) ` ~ ! @ # $ % ^ & * - _ + = | { } [ ] : ; ' < > , . ? /
ImportantFor Windows servers, logon passwords cannot start with a forward slash (/).
Passwords must be sufficiently complex and regularly altered to minimize the risk of being compromised through brute-force methods.
Enter Password Again
Enter the new password again to confirm the password.
Password Change Methods
Select a method to change the password. Valid values:
Change Online: After you update a password, the new password immediately takes effect without server restarts.
Change Offline: After you update a password, the new password takes effect after you restart the server.
Click OK.
In the Reset Password dialog box, perform one of the following operations based on your password change method:
Change Online: If the Password reset successfully. message appears, the password is updated.
Change Offline: Determine whether to restart the server based on your business requirements.
Restart the server immediately: Click Restart Now. The password takes effect after the server is restarted.
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.
Restart the server later: Click Do Not Restart. You can restart the server during off-peak hours to make the new password take effect.
FAQ
For more information, see FAQ about remote connection.
References
To improve server security, we recommend that you use an SSH key pair to log on to a Linux server. For more information, see Manage key pairs on Linux simple application servers.