summaryrefslogtreecommitdiff
path: root/src/sysctl.c
diff options
context:
space:
mode:
authorMichal Vyskocil <mvyskocil@suse.cz>2011-06-29 14:22:46 +0200
committerLennart Poettering <lennart@poettering.net>2011-07-01 23:51:14 +0200
commit687d0825a4636b1841dc0c01fbcbf3160dddab74 (patch)
tree8695af5a1a01282798d354e6fc8119fd26f97f53 /src/sysctl.c
parent1cccf435694675ca1584811179784fc2292e351b (diff)
nspawn: spawn shell under specified --user
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 .
Diffstat (limited to 'src/sysctl.c')
0 files changed, 0 insertions, 0 deletions