home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!utcsri!sys.toronto.edu!ahmedk
- Newsgroups: comp.unix.aix
- From: ahmedk@sys.toronto.edu (Khalid Ahmed)
- Subject: How to change euid of a process?
- Message-ID: <1992Dec28.144641.2564@jarvis.csri.toronto.edu>
- Organization: CSRI, University of Toronto
- Date: 28 Dec 92 19:46:41 GMT
- Lines: 22
-
- Newsgroups: comp.unix.aix
- Distribution: comp
- Subject: How to change euid of process?
-
- Hi,
-
- I'm trying to figure out how setuid/seteuid/setreuid functions work.
- I have a program which is started by root and needs to change
- its effective user id without altering its real user id. On
- other systems I can issue seteuid. This doesn't seem
- to work on AIX. I get the impression from the man pages
- that a program can only its effective uid to its real or saved
- uids. But I can't see how a programs euid can ever be different
- from its ruid. Anyway, I am a bit confused about this.
- Could someone please clarify? Email replies welcome.
-
-
- Khalid Ahmed
- University of Toronto
- ahmedk@sys.toronto.edu
-
-
-