-
lxc-attach: Try really hard to determine login shell · 905022f7Christian Seiler authored
If no command is specified, and using getpwuid() to determine the login shell fails, try to spawn a process that executes the utility 'getent'. getpwuid() may fail because of incompatibilities between the NSS implementations on the host and in the container. Signed-off-by:Christian Seiler <christian@iwakd.de>
905022f7
×