No password prompt on lxc exec container login


(Daniel Clavijo Coca) #1

Hello,

When I attempt to run the login command in a container I get no password prompt after the user prompt

root@minione-lxd-61546:~# lxc exec driven-bird login
driven-bird login: root

Login incorrect

I remember this used to work for me, thoughts ?

I’m running LXD 3.03 on ubuntu 1804 with kernel 4.15


(Stéphane Graber) #2

That behavior from PAM can happen if the user is disabled or if some PAM plugin rejects the user before you even reach the password stage.