From 7e0f021a9aec35fd8e6725e87e3313b101d26f5e Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Sun, 27 Jan 2008 11:37:44 +0100 Subject: Initial import (2.0.2-6) --- reference/C/FUNCTIONS/setuid.html | 102 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 reference/C/FUNCTIONS/setuid.html (limited to 'reference/C/FUNCTIONS/setuid.html') diff --git a/reference/C/FUNCTIONS/setuid.html b/reference/C/FUNCTIONS/setuid.html new file mode 100644 index 0000000..423ceeb --- /dev/null +++ b/reference/C/FUNCTIONS/setuid.html @@ -0,0 +1,102 @@ +User ID. + + + + + + +

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 +

+ + -- cgit v1.2.3-54-g00ecf