<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Mar 25, 2018 at 7:36 PM, Florian Held <span dir="ltr"><<a href="mailto:floriheld@googlemail.com" target="_blank">floriheld@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi,<br></div>how is it possible to log in into a container booting a minimal unstable debian distro via nspawn. After running:<br><br><pre># debootstrap --arch=amd64 unstable ~/debian-tree/
# systemd-nspawn -bD ~/debian-tree/<br><br></pre><pre>prompts username followed by password. The combination<br></pre><pre>"root"<br>""<br><br></pre><pre>without quotes doesn't work. How can I login?</pre></div></blockquote><div><br></div><div>Does debootstrap actually create a passwordless root account?</div><div><br></div><div>If it's passwordless, make sure pam_securetty.so is not active (in the container's /etc/pam.d).</div><div><br></div></div><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Mantas Mikulėnas</div></div>
</div></div>