home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!rpi!ghost.dsi.unimi.it!vince
- From: vince@ghost.dsi.unimi.it (David Vincenzetti)
- Subject: QUESTION: *getresuid()*
- Organization: Computer Science Dep. - Milan University
- Date: Wed, 29 Jul 1992 10:13:30 GMT
- Message-ID: <1992Jul29.101330.12578@ghost.dsi.unimi.it>
- Lines: 25
-
-
- From the manual:
-
- > NAME
- > setresuid, setresgid - set real, effective, and saved user and group
- > IDs
- >
- > SYNOPSIS
- > #include <unistd.h>
- >
- > int setresuid(uid_t ruid, uid_t euid, uid_t suid);
- >
- > int setresgid(gid_t rgid, gid_t egid, gid_t sgid);
- >
- > DESCRIPTION
- > setresuid sets the real, effective and/or saved user ID of the calling
- > process.
-
-
- Okay, I know how to set the *saved* uid.
-
- But *how* I am going to read it?
-
-
- Ciao, David
- --
- David Vincenzetti -*- vince@ghost.dsi.unimi.it, +39-2-5500639[12]
- Public Key Available by finger(1)
-