Is it possible to have containers auto login on the web gui like the node?

sooon_mitch

New Member
Dec 22, 2019
1
0
1
23
I have searched all over the forum and all over Google without success.

When I click on a container, and then shell, I get a prompt to login. I do NOT get this prompt when I select the node, then console. The node is automatically logged into the user.

Is it possible to achieve the same effect with the containers? (So that it is automatically logged in to a user without me providing user/password) If so, how would one achieve this? Any advice or documentation would be helpful.

I basically want to do this and use the web interface as a single point of entry into my server/containers. That way I can disable all ssh connections from outside the box and only use xterm.js from the web side. Plus this will make it easier so that I don't have to manage a password for each container...
 

Stoiko Ivanov

Proxmox Staff Member
Staff member
May 2, 2018
4,407
552
118
You could try reconfiguring the getty process on each container to use autologin - see the ArchWiki entry https://wiki.archlinux.org/index.php/getty

Haven't tried this here though - so it would be great if you report back how this works out!

In any case make sure to set or lock the passwords of all user and not leave them empty!

I hope this helps!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE 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 your own in 60 seconds.

Buy now!