Cannot log in to root through "tty" (local keyboard+monitor/web's console). How to achieve this ?

Aria P

Member
Sep 30, 2018
1
0
21
With LXC container that in its setup configured to login with public-private key instead of password, the "root" account cannot be logged in through local physical access (tty) or web GUI's console.

How can i achieve this with self-added user in ubuntu/debian based guest system ?
 
With LXC container that in its setup configured to login with public-private key instead of password, the "root" account cannot be logged in through local physical access (tty) or web GUI's console.

How can i achieve this with self-added user in ubuntu/debian based guest system ?
public-private keys login is a method for access via ssh and not possible for a consoie login. If you want to login into an lxc container without password you may use from host's command line
Code:
lxc-attach -n <vmid>
 

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!