Hi Arnaud,

Am 04.10.2015 11:27 schrieb "arnaud gaboury" <arnaud.gabo...@gmail.com>:
>
> First, thank you for this new feature. I do think this is a much more
> clean way to log as root.
>
> I just can't get the correct shell, which is /bin/zsh:
>
> /etc/passwd
> -------------------------------
> root:x:0:0:root:/root:/usr/bin/zsh
> -----------------------------

Is this from the container or the host?

> $ machinectl shell
> brings me to sh.

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.

Best Regards,
Tobias
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to