home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / question / 9515 < prev    next >
Encoding:
Text File  |  1992-07-29  |  966 b   |  38 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!rpi!ghost.dsi.unimi.it!vince
  3. From: vince@ghost.dsi.unimi.it (David Vincenzetti)
  4. Subject: QUESTION: *getresuid()*
  5. Organization: Computer Science Dep. - Milan University
  6. Date: Wed, 29 Jul 1992 10:13:30 GMT
  7. Message-ID: <1992Jul29.101330.12578@ghost.dsi.unimi.it>
  8. Lines: 25
  9.  
  10.  
  11. From the manual:
  12.  
  13. >  NAME
  14. >       setresuid, setresgid - set real, effective, and saved user and group
  15. >       IDs
  16. >  SYNOPSIS
  17. >       #include <unistd.h>
  18. >       int setresuid(uid_t ruid, uid_t euid, uid_t suid);
  19. >       int setresgid(gid_t rgid, gid_t egid, gid_t sgid);
  20. >  DESCRIPTION
  21. >       setresuid sets the real, effective and/or saved user ID of the calling
  22. >       process.
  23.  
  24.  
  25. Okay, I know how to set the *saved* uid.
  26.  
  27. But *how* I am going to read it?
  28.  
  29.  
  30. Ciao,    David
  31. -- 
  32. David Vincenzetti  -*-  vince@ghost.dsi.unimi.it, +39-2-5500639[12]
  33.                         Public Key Available by finger(1)
  34.