summaryrefslogtreecommitdiffstats
path: root/sys-utils/setpriv.1
diff options
context:
space:
mode:
authorSebastian Schrader2017-06-01 16:52:10 +0200
committerKarel Zak2017-06-05 13:44:11 +0200
commit94826d0dec68455aa4c311d71d50a6ecf8c82a06 (patch)
tree759ae4343874731e6b60b0e66ef2fcc6efa5e6f6 /sys-utils/setpriv.1
parentchsh: cleanup global_shells usage (diff)
downloadkernel-qcow2-util-linux-94826d0dec68455aa4c311d71d50a6ecf8c82a06.tar.gz
kernel-qcow2-util-linux-94826d0dec68455aa4c311d71d50a6ecf8c82a06.tar.xz
kernel-qcow2-util-linux-94826d0dec68455aa4c311d71d50a6ecf8c82a06.zip
setpriv: Add --init-groups option
Add an --init-groups option which initializes the supplementary groups from the system's group database (e.g /etc/group) using initgroups(3).
Diffstat (limited to 'sys-utils/setpriv.1')
-rw-r--r--sys-utils/setpriv.18
1 files changed, 8 insertions, 0 deletions
diff --git a/sys-utils/setpriv.1 b/sys-utils/setpriv.1
index bf18fe050..be97c0799 100644
--- a/sys-utils/setpriv.1
+++ b/sys-utils/setpriv.1
@@ -52,6 +52,14 @@ Preserve supplementary groups. Only useful in conjunction with
.BR \-\-egid ", or"
.BR \-\-regid .
.TP
+.B \-\-init\-groups
+Initialize supplementary groups using
+.BR initgroups "(3)."
+Only useful in conjunction with
+.BR \-\-ruid
+or
+.BR \-\-reuid .
+.TP
.BR \-\-list\-caps
List all known capabilities. This option must be specified alone.
.TP