summaryrefslogtreecommitdiff
path: root/reference/C/FUNCTIONS/setuid.html
diff options
context:
space:
mode:
Diffstat (limited to 'reference/C/FUNCTIONS/setuid.html')
-rw-r--r--reference/C/FUNCTIONS/setuid.html102
1 files changed, 102 insertions, 0 deletions
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 @@
+<title>User ID.</title>
+
+<head>
+<script language="JavaScript">
+</script>
+</head>
+
+<body bgcolor="#ffffcc">
+<h1>User ID.</h1>
+
+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....
+<p>
+<hr>
+<h2>Man pages. </h2>
+
+<img src=../../GRAPHICS/man.gif>
+<a href=../MAN/getuid.htm>getuid</a>
+<i>Get a users real ID.</i>
+<p>
+
+<img src=../../GRAPHICS/man.gif>
+<a href=../MAN/getuid.htm>geteuid</a>
+<i>Get a users effective ID.</i>
+<p>
+
+<hr>
+<p>
+<img src=../../GRAPHICS/man.gif>
+<a href=../MAN/setuid.htm>setuid</a>
+<i>Set real and effective process ID.</i>
+<p>
+
+<img src=../../GRAPHICS/man.gif>
+<a href=../MAN/seteuid.htm>seteuid</a>
+<i>Set effective process ID.</i>
+<p>
+
+<img src=../../GRAPHICS/man.gif>
+<a href=../MAN/setruid.htm>setruid</a>
+<i>Set real process ID.</i>
+<p>
+
+<img src=../../GRAPHICS/man.gif>
+<a href=../MAN/setgid.htm>setgid</a>
+<i>Set real and effective Group ID.</i>
+<p>
+
+<img src=../../GRAPHICS/man.gif>
+<a href=../MAN/setegid.htm>setegid</a>
+<i>Set effective Group ID.</i>
+<p>
+
+<hr>
+<img src=../../GRAPHICS/man.gif>
+setreuid
+Seems to have different uses on Sun and RS/6000.
+<p>
+
+<img src=../../GRAPHICS/whiteball.gif>
+setuidx
+RS/6000 (AIX only).
+<p>
+
+<img src=../../GRAPHICS/whiteball.gif>
+getuidx
+RS/6000 (AIX only).
+<p>
+
+<hr>
+<h2>Some notes</h2>
+
+<hr>
+<img src=../../GRAPHICS/computer.gif>
+<a href=../EXAMPLES/setuid.c>Example program.</a>
+
+
+<p>
+
+<hr>
+<p>
+<center>
+<table border=2 width="80%" bgcolor="ivory">
+<tr align=center>
+<td width="25%">
+<a href="../cref.html"> Top</a>
+</td><td width="25%">
+<a href="../master_index.html"> Master Index</a>
+</td><td width="25%">
+<a href="../SYNTAX/keywords.html"> Keywords</a>
+</td><td width="25%">
+<a href="funcref.htm"> Functions</a>
+</td>
+</tr>
+</table>
+</center>
+<p>
+<hr>
+<address>Martin Leslie
+</address><p>
+</body>
+</html>