<p dir="ltr">Hi Arnaud,</p>
<p dir="ltr">Am 04.10.2015 11:27 schrieb "arnaud gaboury" <<a href="mailto:arnaud.gaboury@gmail.com">arnaud.gaboury@gmail.com</a>>:<br>
><br>
> First, thank you for this new feature. I do think this is a much more<br>
> clean way to log as root.<br>
><br>
> I just can't get the correct shell, which is /bin/zsh:<br>
><br>
> /etc/passwd<br>
> -------------------------------<br>
> root:x:0:0:root:/root:/usr/bin/zsh<br>
> -----------------------------</p>
<p dir="ltr">Is this from the container or the host?</p>
<p dir="ltr">> $ machinectl shell<br>
> brings me to sh.</p>
<p dir="ltr">When I set the root shell in /etc/passwd of the container, then that works for me most of the time. "Most of the time" since bigger shells seem to sometimes run into a timeout and then I only get an error message and no shell. Re-running machinectl shell helps when that happens.</p>
<p dir="ltr">Best Regards,<br>
Tobias</p>