No more access to Proxmox VE

pieterheida

New Member
Nov 29, 2026
1
0
1
Almost 4 years ago I installed Proxmox VE v7 on an HP mini.
Under Proxmox, I installed several VMs and containers. This works great!
Earlier this year I upgraded to v8.

When I log in to Proxmox, I used the user “root” with a password I chose during installation. That always worked fine.

I make a backup every week. The backup status from Proxmox is sent to my email account.
Recently I got a new email address. I also wanted to enter this address in Proxmox to receive the backup status.
In doing so, I made a mistake, and now I no longer have access to Proxmox.

I did the following:
Under Datacenter → Permissions → Users.
Here I clicked on the root account and entered my name and new email address. Nothing was filled in here yet.
Then a pop-up screen suddenly appeared asking me to log in again.

But I can no longer log in on the GUI with user “root” and the password I always used.
It also doesn’t work with the email address or name I entered in combination with the password I always used.
I tried all of the above with both the Realm “Linux PAM standard authentication” and “Proxmox VE authentication server.”
I still can login via a terminal window.

How can I best restore access via the GUI?
 
Last edited:
Welcome, @pieterheida
I haven't experienced a similar situation, so my suggestion may be not the a good clue, but I would check the file
/etc/pve/user.cfg

Mine contains:
user:root@pam:1:0:::emailusername@emaildomain::
(I'm obfuscating the email address here).

If yours contains the mistaken name, try to edit the file so that it looks similar to mine.

Before you start editing the file, make a copy of it to e.g. /root directory - just in case.
 
I'm pretty sure your password is fine. That's why you can still log in from the terminal. When you edited root in Datacenter > Permissions > Users, I think you accidentally unchecked "Enabled" or set an "Expire" date. Proxmox logged you out right away and now treats root as disabled. (The name and email you entered are just profile details. They can't be used to log in.)

From the terminal, you can check it with:
grep root@pam /etc/pve/user.cfg

If the line starts with user:root@pam:0: or has a date after it, that's the problem. Fix it with:
pveum user modify root@pam --enable 1 --expire 0

Then log into the GUI as root, choose the "Linux PAM standard authentication" realm, and use your normal password. To set your new email without touching anything else:

pveum user modify root@pam --email you@newaddress.com

If it still won't let you in, run passwd root to reset the password and try again.