diff options
author | Karel Zak | 2012-08-28 16:32:28 +0200 |
---|---|---|
committer | Karel Zak | 2012-09-04 17:00:30 +0200 |
commit | 8528ea2f81487142047a49ec6601a745f2eab365 (patch) | |
tree | 2260c6946db300c7decaaf8429f6fee9e64333f1 /.gitignore | |
parent | build-sys: add configure summary (diff) | |
download | kernel-qcow2-util-linux-8528ea2f81487142047a49ec6601a745f2eab365.tar.gz kernel-qcow2-util-linux-8528ea2f81487142047a49ec6601a745f2eab365.tar.xz kernel-qcow2-util-linux-8528ea2f81487142047a49ec6601a745f2eab365.zip |
su: add --group and --supp-group options
These options allow to specify alternative groups. The command
su(1) has to be executed by root. The implementation is based on
Fedora runuser(1) command.
For example:
# su --group=kzak --supp-group=uuidd -
# id
uid=0(root) gid=1000(kzak) groups=0(root),985(uuidd),1000(kzak)
non-root user:
$ su --group=kzak -
su: only root can specify alternative groups
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions