home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / aix / 12878 < prev    next >
Encoding:
Internet Message Format  |  1992-12-28  |  991 b 

  1. Path: sparky!uunet!utcsri!sys.toronto.edu!ahmedk
  2. Newsgroups: comp.unix.aix
  3. From: ahmedk@sys.toronto.edu (Khalid Ahmed)
  4. Subject: How to change euid of a process?
  5. Message-ID: <1992Dec28.144641.2564@jarvis.csri.toronto.edu>
  6. Organization: CSRI, University of Toronto
  7. Date: 28 Dec 92 19:46:41 GMT
  8. Lines: 22
  9.  
  10. Newsgroups: comp.unix.aix
  11. Distribution: comp
  12. Subject: How to change euid of process?
  13.  
  14. Hi,
  15.  
  16. I'm trying to figure out how setuid/seteuid/setreuid functions work.
  17. I have a program which is started by root and needs to change
  18. its effective user id without altering its real user id. On
  19. other systems I can issue seteuid. This doesn't seem
  20. to work on AIX. I get the impression from the man pages
  21. that a program can only its effective uid to its real or saved
  22. uids. But I can't see how a programs euid can ever be different
  23. from its ruid. Anyway, I am a bit confused about this.
  24. Could someone please clarify? Email replies welcome.
  25.  
  26.  
  27. Khalid Ahmed
  28. University of Toronto
  29. ahmedk@sys.toronto.edu
  30.  
  31.  
  32.