home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!destroyer!sol.ctr.columbia.edu!emory!athena.cs.uga.edu!weinri
- From: weinri@athena.cs.uga.edu (Kevin Weinrich)
- Newsgroups: comp.unix.questions
- Subject: How does one write a suid *wrapper* in C to, e.g., mount a CD-ROM drive
- Summary: The FAQ says *TO* do it, not *HOW*
- Keywords: suid, setuid
- Message-ID: <1992Aug14.174940.23631@athena.cs.uga.edu>
- Date: 14 Aug 92 17:49:40 GMT
- Organization: University of Georgia, Athens
- Lines: 5
-
- OK, so I know I'm not supposed to write a setuid script. So how do
- I write a secure C wrapper to run a mount or dump or etc. command?
-
- Thanks very much,
- Kevin Weinrich weinri@athena.cs.uga.edu
-