home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!swrinde!sdd.hp.com!cs.utexas.edu!asuvax!ncar!mimbres.cs.unm.edu!unmvax!cs.sandia.gov!jhgreen
- From: jhgreen@cs.sandia.gov (Jethro H. Greene)
- Subject: SetUID
- Message-ID: <1992Nov11.035408.8251@cs.sandia.gov>
- Followup-To: poster
- Originator: jhgreen@cs.sandia.gov
- Sender: jhgreen@cs.sandia.gov
- Organization: Sandia National Laboratories, Albuquerque, NM
- Date: Wed, 11 Nov 92 03:54:08 GMT
- Lines: 24
-
- I am trying to give certain paople (not in my group) read permission in
- all of my files. I am now experimenting in using shell scripts with the
- SetUID bit set. What kind of file does a SetUID script have to be? Can
- it simply be
-
- cat > reader
- (A bunch of password stuff)
- cat
- ^D
-
- chmod 4711 reader
-
-
- ---or---
- would I have to actually copy the script from the /usr/bin directory?
-
- I don't really want to take the risk of experimenting with SetUID because
- I know that it is dangerous. Could someone explain SetUID to me or suggest
- a good source?
-
-
- Thanks in advance,
- Jed
- ---
-