[systemd-devel] [PATCH 2/2] nspawn: spawn shell under specified --user
Lennart Poettering
lennart at poettering.net
Fri Jul 1 14:58:16 PDT 2011
On Wed, 29.06.11 14:22, Michal Vyskocil (mvyskocil at suse.cz) wrote:
> Add -u/--user option, which changes the effective and real user and
> group id to the new value. The user must exists in the chroot, otherwise
> it will fail. Both username and user id are accepted. The user home is
> created as well.
>
> It also setup HOME, USER, LOGNAME and SHELL variables .
Thanks a lot, applied both patches!
Lennart
--
Lennart Poettering - Red Hat, Inc.
More information about the systemd-devel
mailing list