On Sun, Mar 25, 2018 at 7:36 PM, Florian Held <[email protected]>
wrote:

> Hi,
> how is it possible to log in into a container booting a minimal unstable
> debian distro via nspawn. After running:
>
> # debootstrap --arch=amd64 unstable ~/debian-tree/
> # systemd-nspawn -bD ~/debian-tree/
>
> prompts username followed by password. The combination
>
> "root"
> ""
>
> without quotes doesn't work. How can I login?
>
>
Does debootstrap actually create a passwordless root account?

If it's passwordless, make sure pam_securetty.so is not active (in the
container's /etc/pam.d).


-- 
Mantas Mikulėnas
_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to