Can't login with any user after creating new user

Avalanche

New Member
Apr 7, 2026
2
0
1
Hi,

I added a new PAM user "tom" in the web UI and set a password for that user. As a consequence, I can't login with any user anymore. I tried with all combinations PAM, PVE. I also can't login as root anymore through ssh or from the console.

What is going on here and how can I log back into the system? I found old threads of people running into similar problems (e.g. here). But they are almost ten years old and I can't believe that such a major problem would not have been fixed. What is the recommended way to create new users?

Thanks!
 
I also can't login as root anymore through ssh or from the console.
this sounds especially worrying as the pve ui does not touch this part of the system at all, even when adding a new user.

i'd first try to re-establish a successful login via ssh, and then look in the journal/syslog to further diagnose the issue.

if you have "physical" access (or via a ipmi, etc.) you can use this info to reset the root password: https://pve.proxmox.com/wiki/Root_Password_Reset
 
I added a new PAM user "tom" in the web UI and set a password for that user.
Are you sure? As far as I can see there is no way to set a password in the web UI for any PAM user. What exactly did you do and what do you see now when you try to login? (Screenshot, including the full error message...)

Possibly pitfall: in the login dialog there is a drop-down menu. You need to select the correct one to successfully login.
 
Are you sure? As far as I can see there is no way to set a password in the web UI for any PAM user. What exactly did you do and what do you see now when you try to login? (Screenshot, including the full error message...)

Possibly pitfall: in the login dialog there is a drop-down menu. You need to select the correct one to successfully login.
Frankly, I have no idea what really happened. I reinstalled Proxmox from scratch on that system. I can see in the UI that it is not possible to change passwords for PAM users that were only created from the web UI (change password failed: user 'test' does not exist (500)).