setrgid man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



SETEUID(3C)							   SETEUID(3C)

NAME
     seteuid, setruid, setegid, setrgid - set user and group IDs

SYNOPSIS
     #include <unistd.h>

     int seteuid(uid_t euid);
     int setruid(uid_t ruid);

     int setegid(gid_t egid);
     int setrgid(gid_t rgid);

DESCRIPTION
     seteuid (setegid) sets the effective user ID (group ID) of the current
     process.

     setruid (setrgid) sets the real user ID (group ID) of the current
     process.

     These calls are only permitted to the super-user or if the argument is
     the real or effective ID.

DIAGNOSTICS
     Zero is returned if the user (group) ID is set.  Otherwise -1 is returned
     and errno is set to EPERM if the caller is not the super-user and a
     disallowed ID is used.

SEE ALSO
     setreuid(2), setregid(2), setuid(2), setgid(2), getuid(2), getgid(2).

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net