Auto shell login not working after disabling root account

blackninja

Member
Aug 17, 2019
3
0
6
Hello. I was following some general security/hardening guides for Proxmox. As general Linux best practice, I disabled the root account and created a new 'administrative' account. The account works fine. However, the auto-shell login in the Proxmox GUI is tied to the root account. How do I setup my new account so that I can have the auto login functionality view the Shell work again without constant prompts to manually login. My guess is that this has something to do with ssh_keys, but not quite sure how to get this working. Thank you.
 
As stated by the Proxmox staff on numerous occasions, the root account is hard coded for a lot of things and PVE will not work properly if you disable the root account. Just disable remote login with password (only with key) then your root account is secured enough with respect to what is possible.
 
  • Like
Reactions: aljaxus
Any updates to this behavior since legacy versions of Proxmox? I'm hoping that I can somehow link the shell option to a set of SSH keys to re-enable auto-login.
 
Any updates to this behavior since legacy versions of Proxmox?
What would be the use-case for this over just logging in via SSH?

I'm hoping that I can somehow link the shell option to a set of SSH keys to re-enable auto-login.
The login via the GUI is done via SSH, this is correct and it is only available as root@pam because that's the user everything runs in and the only user there is per default.