Last updated on
Change the VM password
When you forget the password or need to rotate credentials, reset the VM's admin/root password straight from the Portal — no SSH session required.
Applies to
- Linux —
rootpassword. - Windows —
Administratorpassword.
The feature requires the in-VM agent (shipped by default in LANIT images). If the agent is unavailable, use Rebuild from base image or contact support.
Steps
Step 1. Open the VM detail page
Go to Cloud Server → Servers and click the VM.

Step 2. Open the Thao tác tab

Step 3. Enter the new password
Under Đặt lại mật khẩu, type the password into Mật khẩu mới and Xác nhận mật khẩu. It should meet:
- At least 8 characters.
- Mix of upper-case, lower-case and digits.
- Avoid dictionary words (
password,admin,123456…).
Click Đổi mật khẩu.

The VM will reboot
Changing the password requires a VM reboot to take effect — the portal restarts the VM automatically after you click Đổi mật khẩu. Save any in-progress work first.
Security recommendations
- Prefer SSH Key over passwords on Linux — see SSH Key.
- Rotate the password on a schedule (90 days is a common cadence).
- Don't reuse the same password across production VMs.
- Store passwords in a password manager (1Password, Bitwarden…), never in plaintext files.