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.
- 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 Mật khẩu in the Truy cập card, 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.

Step 4. Confirm
A confirmation dialog appears. Check Tự động khởi động lại sau khi đổi (Auto-reboot after changing) if you want the VM to reboot right away, then click Đổi mật khẩu again to finish.

The new password only takes effect after the VM reboots. If you didn't check auto-reboot above, reboot the VM yourself afterwards.
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.