User ID.

Various functions to change and see a User or Group ID. These are NOT ANSII standard functions. Do not expect them all to work on your machine....


Man pages.

getuid Get a users real ID.

geteuid Get a users effective ID.


setuid Set real and effective process ID.

seteuid Set effective process ID.

setruid Set real process ID.

setgid Set real and effective Group ID.

setegid Set effective Group ID.


setreuid Seems to have different uses on Sun and RS/6000.

setuidx RS/6000 (AIX only).

getuidx RS/6000 (AIX only).


Some notes


Example program.


Top Master Index Keywords Functions


Martin Leslie