Skip to main content

Proxmox VE root pass reset (break the glass)

If you forgot the password, it is possible to change passowrd from the machine's console (physical access required):

Reset root password inside rescue shell:

Boot the server.

In GRUB menu press e to edit boot entry.

Find the linux kernel line starting with linux.

Add at the end:

init=/bin/bash

Boot with

CTRL+X

Remount filesystem read-write:

mount -o remount,rw /

Change password:

passwd

Reboot

shutdown -r now
reboot -f

Login with new pass, usually to port 8006

https://nn.nn.nn.nn:8006/

Change password (top-right, under username and 'Password')

Create admins user group

Create another admin user, add to admin user group created above

Define user's password

Add group permissions

Define permissions