home *** CD-ROM | disk | FTP | other *** search
-
-
-
- SSSSEEEETTTTEEEEUUUUIIIIDDDD((((3333CCCC)))) SSSSEEEETTTTEEEEUUUUIIIIDDDD((((3333CCCC))))
-
-
-
- NNNNAAAAMMMMEEEE
- seteuid, setruid, setegid, setrgid - set user and group IDs
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_uuuu_nnnn_iiii_ssss_tttt_dddd_...._hhhh_>>>>
-
- iiiinnnntttt sssseeeetttteeeeuuuuiiiidddd((((uuuuiiiidddd____tttt eeeeuuuuiiiidddd))));;;;
- iiiinnnntttt sssseeeettttrrrruuuuiiiidddd((((uuuuiiiidddd____tttt rrrruuuuiiiidddd))));;;;
-
- iiiinnnntttt sssseeeetttteeeeggggiiiidddd((((ggggiiiidddd____tttt eeeeggggiiiidddd))));;;;
- iiiinnnntttt sssseeeettttrrrrggggiiiidddd((((ggggiiiidddd____tttt rrrrggggiiiidddd))));;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _s_e_t_e_u_i_d (_s_e_t_e_g_i_d) sets the effective user ID (group ID) of the current
- process.
-
- _s_e_t_r_u_i_d (_s_e_t_r_g_i_d) 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.
-
- DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
- Zero is returned if the user (group) ID is set. Otherwise -1 is returned
- and _e_r_r_n_o is set to EPERM if the caller is not the super-user and a
- disallowed ID is used.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- setreuid(2), setregid(2), setuid(2), setgid(2), getuid(2), getgid(2).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-