[systemd-devel] machinectl shell
Tobias Hunger
tobias.hunger at gmail.com
Sun Oct 4 02:34:16 PDT 2015
Hi Arnaud,
Am 04.10.2015 11:27 schrieb "arnaud gaboury" <arnaud.gaboury at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20151004/c9f6aed4/attachment.html>
More information about the systemd-devel
mailing list