The *nix documentation project is meant to provide online searchable documentation for Linux, FreeBSD, OpenBSD, NetBSD, HP-UX, Tru64 and other Unix like operating systems.
Currently hosting over 25000 manual pages,
over 200 Linux Howtos, over 100 FreeBSD tips and a friendly comunity forum where your questions will be answered.
|
Random man page:
setgid(2) -- set user and group IDs
|
|
setuid() sets the real-user-ID (ruid), effective-user-ID (euid), and/or saved-user-ID (suid) of the calling process. The super-user's euid is zero. The following conditions govern setuid's behavior: + If the euid is zero, setuid() sets the ruid, euid, and suid to uid. + If the euid is not zero, but the argument uid is equal to the ruid or the suid, setuid() sets the euid to uid; the ruid and sui... |
|