diff options
author | Michal Vyskocil <mvyskocil@suse.cz> | 2011-06-29 14:22:46 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-07-01 23:51:14 +0200 |
commit | 687d0825a4636b1841dc0c01fbcbf3160dddab74 (patch) | |
tree | 8695af5a1a01282798d354e6fc8119fd26f97f53 /src/ask-password.c | |
parent | 1cccf435694675ca1584811179784fc2292e351b (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/ask-password.c')
0 files changed, 0 insertions, 0 deletions