01-04-2012
Hi Jayan,
Forgot to mention. I want the material specifc to OPERATING SYSTEM.
Best Regards,
Om Prakash.
9 More Discussions You Might Find Interesting
1. New to Unix. Which books should I read?
Hi!
I have 1.5 years experience in unix environment and shell scripting. Now, I started learning UNIX internals and network programming. Can you please help in finding the same material on the net
Thanks
Srinivas. (7 Replies)
Discussion started by: srinivaskathika
7 Replies
2. UNIX for Dummies Questions & Answers
I am currently a student at Bergen Community College. My major is Networking Administration. I am having a tough time with INF-254 (UNIX).
I need some help! What is "README bit"
I am having trouble understanding certain concepts:
For Example, what does it mean to set SUID, or SGID?
... (1 Reply)
Discussion started by: nelson ele
1 Replies
3. Programming
HI Friends,
I wanted to start this thread inorder to keep all the Unix starters to easily find useful material through this thread...I request you all to provide with the URL address of any gud material you know...
thanks and regards... (2 Replies)
Discussion started by: rahul3894singh
2 Replies
4. Windows & DOS: Issues & Discussions
Hi,
Can anyone provide the UNIX material.
Thanks. (1 Reply)
Discussion started by: biyyanimv
1 Replies
5. UNIX for Dummies Questions & Answers
I am trying to read about a UNIX distribution list but I cannot seem to find out what it is or where I can find a website to read more on it any help would be greatly appreciated (2 Replies)
Discussion started by: starshot
2 Replies
6. UNIX for Dummies Questions & Answers
Any study material for begineers for UNIX please?? (2 Replies)
Discussion started by: niranjany
2 Replies
7. Ubuntu
Any study material for begineers for Ubuntu please?? (4 Replies)
Discussion started by: niranjany
4 Replies
8. What is on Your Mind?
Hi,
I want to prepare and then appear for Unix admin certification. Please guide me for the study material and Exams that are required to be taken for UNIX certifcation.
Thanks in advance. (11 Replies)
Discussion started by: raman1605
11 Replies
9. Solaris
As I am new in UNIX , and I want to learn UNIX shell scripting.
where shall I get material for Scripting ( For basics fundamentals and production environmental scripts)
Kindly provide me ...................... (7 Replies)
Discussion started by: sunray
7 Replies
LEARN ABOUT ULTRIX
setreuid
setreuid(2) System Calls Manual setreuid(2)
Name
setreuid - set real and effective user ID's
Syntax
setreuid(ruid, euid)
intruid, euid;
Description
The real and effective user ID's of the current process are set according to the arguments. If ruid or euid is -1, the current uid is
filled in by the system.
Return Values
Upon successful completion, a value of zero (0) is returned. Otherwise, a value of -1 is returned and errno is set to indicate the error.
Environment
BSD
If the process is superuser, or and matches with the real user ID, the effective user ID, or the saved set-user-id (as described in ), then
the real, effective, and the saved set-user-id are set to and respectively.
POSIX
SYSTEM-FIVE
When your program is compiled in the POSIX or SYSTEM-FIVE mode, if both arguments to are -1, the system call returns a value of -1 and
errno is set to [EINVAL].
The following semantics apply when using the function:
If the process is the superuser, the real, effective, and saved set-user-id (as described in ) are set to and respectively.
If the process is not the superuser, but the and matches with the real user ID, the effective user ID (only in the SYSTEM-FIVE and BSD
environments), or the saved set-user-id, then the effective ID is set to The real user ID and the saved set-user-id are left unchanged.
Diagnostics
[EPERM] The current process is not the superuser and the and specified does not match with the real user ID, the effective user ID
(only in SYSTEM-FIVE and BSD environment), or the saved set-user-id.
See Also
getuid(2), setregid(2), setuid(3)
setreuid(2)