Can't log onto Proxmox web GUI using Linux PAM

darkrealm12

New Member
Sep 29, 2023
2
0
1
I'm no longer able to log onto my Proxmox GUI interface. I continue to get "Login failed. Please try again". I've already followed these steps based on previous posts:
  • restarted pvedaemon, pveproxy and rebooted the server
  • tried different browsers
  • cleared the browser cache
  • reset the root password following the steps outlined here: https://pve.proxmox.com/wiki/Root_Password_Reset
    • I'm able to log on as root with the new password via the cli (it's a bare-metal installation with no clusters set up)
    • The new password isn't being accepted, though, via the web GUI
I ran this curl request to get the API access ticket and the response ends up being {"data":null} (based on another post of the same issue):
curl -s -w "${http_code}\\n" -k --data-urlencode "username=root" --data-urlencode "password=mypassword" "https://<ipaddress>:8006/api2/json/access/ticket"

My Proxmox VM is not opened to the Internet. I'm using Linux PAM authentication, and I've never had this issue of logging in until today. Any help would be appreciated. Thanks!
 
Last edited:
Hi,
please check the entries in cat /var/log/pveproxy/access.log as well as the systemd journal for errors. You can get a paginated view of the journal since boot in reverse order by running journalctl -b -r.

Linux PAM authentication
Make sure that this is selected as realm in the login form as well.
 
I just found out the cause of the issue - I was entering in my new password wrong due to a single character. :rolleyes: I apologize, thanks for reaching out though!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!