mirror of https://github.com/mkerrisk/man-pages
setresuid.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
02a0d14238
commit
0e332aef5f
|
@ -40,14 +40,13 @@ setresuid, setresgid \- set real, effective and saved user or group ID
|
|||
sets the real user ID, the effective user ID, and the
|
||||
saved set-user-ID of the calling process.
|
||||
|
||||
Unprivileged user processes
|
||||
may change the real UID,
|
||||
An unprivileged process may change its real UID,
|
||||
effective UID, and saved set-user-ID, each to one of:
|
||||
the current real UID, the current effective UID or the
|
||||
current saved set-user-ID.
|
||||
|
||||
Privileged processes (on Linux, those having the \fBCAP_SETUID\fP capability)
|
||||
may set the real UID, effective UID, and
|
||||
A privileged process (on Linux, one having the \fBCAP_SETUID\fP capability)
|
||||
may set its real UID, effective UID, and
|
||||
saved set-user-ID to arbitrary values.
|
||||
|
||||
If one of the arguments equals \-1, the corresponding value is not changed.
|
||||
|
|
Loading…
Reference in New Issue