Updated: 12 October 2026 · Applies to: Ucartz KVM VPS managed with Virtualizor (end user panel); manual reset tested with Debian 13 and AlmaLinux 10.2 in containers
If you have lost the root password (Linux) or the Administrator password (Windows) of your VPS, set a new one in Virtualizor: open the VPS, click Change Password, enter the new password, click Change Password and then restart the VPS. On a KVM VPS the new password only takes effect after the VPS boots again, according to Virtualizor's documentation. If the panel cannot change it, use rescue mode as described further down.
Reset the password from the panel
- Log in to the Ucartz client area, open Services › My Services and click your VPS. The Virtualizor VPS dashboard is on the service page. (You can also log in to the Virtualizor panel directly with the address in your VPS welcome email and open the VPS from List VPS.)
- Click Change Password.
- Enter the new password and click Change Password.
- Click Restart. Virtualizor applies the new password when the VPS boots again; until then the old one keeps working.
- Log in over SSH or the VNC console with the new password.
If the old password still works after the restart, shut the VPS down and start it again from the panel (see How to Shut Down Your VPS Safely or Forcefully via Virtualizor and How to Start or Boot Your VPS Using Virtualizor), so that it really boots again.
Which password are you resetting?
- Root or Administrator password: the login of the operating system inside the VPS. That is the one this article resets.
- Virtualizor account password: the login of the control panel itself. See How to Update Your Virtualizor Account Password.
- VNC password: only for the browser console. See How to Change the VNC Password for Your VPS in Virtualizor.
When the panel cannot change the password
The panel reset may not work in these cases:
- The operating system was installed from your own ISO (manual installation). Virtualizor warns that a VPS created from an ISO has an extra System Reserved partition that causes problems with setting the password (it describes this for Windows), and the panel may not be able to change the password of any system it did not install from its own template.
- Windows, when the administrator account is not named
Administrator: according to Virtualizor, it can only set the password of the account with that name.
On a Linux VPS, reset the password yourself through rescue mode. On a Windows VPS installed by our engineers, open a Technical Support ticket and we will help.
Reset a Linux root password in rescue mode
Rescue mode starts a small Debian-based system next to your VPS, from which you can mount your own disk.
- Enable rescue mode and set a password for the rescue system: How to Enable Rescue Mode for Your VPS Using Virtualizor.
- Connect with SSH to your VPS IP address as
rootwith that rescue password. - Find the partition that holds your root file system with
lsblk -fand mount it withmount /dev/vdX1 /mnt, replacingvdX1with the namelsblkshows for your own disk. - Set the new password with your system's own
passwd:chroot /mnt passwd root
This is the result on our Debian 13 and AlmaLinux 10.2 test systems:New password: Retype new password: passwd: password updated successfully
If the two entries differ you getSorry, passwords do not match.andpasswd: password unchanged; run the command again. - On AlmaLinux, Rocky Linux, RHEL and other systems with SELinux, also run
touch /mnt/.autorelabel. Without a relabel, the changed password file can carry the wrong SELinux label and logins can fail; Red Hat's own reset procedure includes the same step. The first boot then takes longer and restarts once by itself. - Run
umount /mnt, then turn rescue mode off (How to Disable Rescue Mode in Virtualizor) and log in with the new password.
Prefer the console? With the VNC console you can also reset the password from the boot menu. Red Hat documents this for RHEL 9: press e at the GRUB menu, add rd.break to the end of the line that starts with linux, press Ctrl+X, then run mount -o remount,rw /sysroot, chroot /sysroot, passwd and touch /.autorelabel, then type exit twice. The system relabels its files and reboots by itself. On AlmaLinux, Rocky Linux and RHEL 10 this emergency shell can ask for the root password, so on version 10 use rescue mode as described above. How to Boot into Single User Mode in CentOS/RHEL 7? covers the older RHEL 7 method.
PiKVM and other KVM-over-IP devices
A VPS has no physical KVM switch. If you searched for the root password of a PiKVM device, that is set on the device itself: according to the PiKVM documentation, run rw, then passwd root for the operating system and kvmd-htpasswd set admin for the web interface, then ro. Change both default passwords as soon as you set the device up.
Related guides
- How to change the VPS root password using Ucartz client area?
- How to Restart or Reboot Your VPS Using Virtualizor
- How to Change a User Password in Linux (passwd and chpasswd) (when you can still log in)
Ucartz services for this topic
- KVM VPS hosting: NVMe SSD and full root access, with Free Basic Managed Support.
- Managed cPanel VPS: cPanel included; we handle updates, security and monitoring.
