diff options
author | Sami Kerola | 2013-04-13 21:54:34 +0200 |
---|---|---|
committer | Karel Zak | 2013-04-26 13:25:59 +0200 |
commit | 637fa4c6cec42adc4fe364732e0a30bc3acb30fa (patch) | |
tree | db8dceb16b0f36acc5f009bffa9aa45bb9cdaf1b /sys-utils/setpriv.1 | |
parent | utmpdump: add option to write to a file (diff) | |
download | kernel-qcow2-util-linux-637fa4c6cec42adc4fe364732e0a30bc3acb30fa.tar.gz kernel-qcow2-util-linux-637fa4c6cec42adc4fe364732e0a30bc3acb30fa.tar.xz kernel-qcow2-util-linux-637fa4c6cec42adc4fe364732e0a30bc3acb30fa.zip |
setpriv: allow login and group name option arguments
For an average user names are easier to use than uid and gid numbers.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'sys-utils/setpriv.1')
-rw-r--r-- | sys-utils/setpriv.1 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys-utils/setpriv.1 b/sys-utils/setpriv.1 index c56d89f5f..c05473cd2 100644 --- a/sys-utils/setpriv.1 +++ b/sys-utils/setpriv.1 @@ -55,7 +55,8 @@ inheritable set, you are likely to become confused. Do not do that. Lists all known capabilities. Must be specified alone. .TP \fB\-\-ruid\fR \fIuid\fR, \fB\-\-euid\fR \fIuid\fR, \fB\-\-reuid\fR \fIuid\fR -Sets the real, effective, or both \fIuid\fRs. +Sets the real, effective, or both \fIuid\fRs. The uid argument can be +given as textual login name. .IP Setting .I uid @@ -68,7 +69,8 @@ something like: \-\-reuid=1000 \-\-\:regid=1000 \-\-\:caps=\-\:all .TP \fB\-\-rgid\fR \fIgid\fR, \fB\-\-egid\fR \fIgid\fR, \fB\-\-regid\fR \fIgid\fR -Sets the real, effective, or both \fIgid\fRs. +Sets the real, effective, or both \fIgid\fRs. The gid argument can be +given as textual group name. .IP For safety, you must specify one of \-\-\:keep\-\:groups, \-\-\:clear\-\:groups, or \-\-\:groups if you set any primary |