Change Root Password
How to change your server's root password and how to recover it if forgotten
Change Root Password (When Already Connected)
Once inside server via SSH, run:
passwdYou'll be asked to enter new password twice. Password won't be shown as you type: that's normal.
New password:
Retype new password:
passwd: password updated successfullyChoose secure password: at least 12 characters, uppercase, lowercase, numbers and symbols. Better yet, use SSH keys and disable password access.
Change Another User's Password
To change password of specific user (es. ubuntu, deploy):
passwd usernameForgotten Password: Recovery from Panel
If you forgot root password and can't access via SSH, you can reset it from VNC console in client panel:
- Access client panel
- Select your server
- Click Console (VNC/NoVNC) to open direct access
- Login (might require current password)
If you don't remember that either, contact support for reset via rescue mode.
Reset Password via Rescue Mode
Rescue Mode boots server with temporary live system letting you mount disk and change password without accessing system:
- Access client panel → select server
- Start Rescue Mode
- Get temporary rescue credentials (sent via email)
- Access via SSH to rescue, then mount main disk:
# Identify main partition
lsblk
# Mount disk (es. /dev/vda1)
mount /dev/vda1 /mnt
# Enter system with chroot
chroot /mnt
# Change password
passwd
# Exit and unmount
exit
umount /mnt- Return to panel and restart in normal mode
Disk name might vary (vda, sda, xvda). Use lsblk to identify correctly.