10-07-2002
Suggest you read the rules of the forum
here and then you will start to understand.
And welcome to the world of UNIX.
6 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
ok,
Newbie here.....
I just installed this solaris 10 for a class I'm taking. We couldn't figure out how to change the IP so we were told to just do it from the sys-uncofig process. Well, after I did that, I lost the GUI witch isn't all that bad cuz I want to learn the cli anyways, but I keep... (1 Reply)
Discussion started by: moesays
1 Replies
2. Solaris
how to get the disks brand names? NIC brand names?
thanks (3 Replies)
Discussion started by: melanie_pfefer
3 Replies
3. UNIX for Dummies Questions & Answers
hi there
i am very new to the world of CRON. i would like to know from below the ground up how i can learn abouot cron. where the best tutorials lie. i have an assignment that requires i set up a cron job to download a price file. am i in control of where the price file is downloaded to? (eg to... (2 Replies)
Discussion started by: buzzby
2 Replies
4. UNIX for Dummies Questions & Answers
Hello all.
Can someone help. I am a non-Unix person in everyway- I deal more with the company backups etc. I have been asked to start learning Unix and have been asked to get myself on a course and obtain material. I live in the Nottingham area in UK- can anyone suggest a good 3-5 day course -... (3 Replies)
Discussion started by: WaqarShah
3 Replies
5. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
I have just gotten into writing bash scripts for a class, part of the assignment is to read and be able to tell... (4 Replies)
Discussion started by: Byrang
4 Replies
6. What is on Your Mind?
A poll is added. Please vote and share your experiences. :b:
If you select option: Other Brand then please post the brand name (22 Replies)
Discussion started by: Yoda
22 Replies
LEARN ABOUT LINUX
geteuid32
GETUID(2) Linux Programmer's Manual GETUID(2)
NAME
getuid, geteuid - get user identity
SYNOPSIS
#include <unistd.h>
#include <sys/types.h>
uid_t getuid(void);
uid_t geteuid(void);
DESCRIPTION
getuid() returns the real user ID of the calling process.
geteuid() returns the effective user ID of the calling process.
When a normal program is executed, the effective and real user ID of the process are set to the ID of the user executing the file. When a
set ID program is executed the real user ID is set to the calling user and the effective user ID corresponds to the set ID bit on the file
being executed.
ERRORS
These functions are always successful.
CONFORMING TO
POSIX.1-2001, 4.3BSD.
NOTES
History
In Unix V6 the getuid() call returned (euid << 8) + uid. Unix V7 introduced separate calls getuid() and geteuid().
SEE ALSO
getresuid(2), setreuid(2), setuid(2), credentials(7)
COLOPHON
This page is part of release 3.27 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
Linux 1993-07-23 GETUID(2)