Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!voder!pyramid!infmx!dberg From: dberg@informix.com (David I. Berg) Newsgroups: comp.unix.internals Subject: Re: how to setuid for shell scripts? Message-ID: <1990Nov15.202730.14466@informix.com> Date: 15 Nov 90 20:27:30 GMT References: <25009@adm.brl.mil> Sender: news@informix.com (Usenet News) Organization: Informix Software, Inc. Lines: 7 In article <25009@adm.brl.mil> K390590%AEARN@pucc.princeton.edu ( Steinparz Franz) writes: >Could someone give me advice how to make a shell script which inherits >its access rights from its owner as this is done by set uid for regular >programs...... What I've done in the same circumstance is write a one line C program which system calls the shell script, and then setuid the C program.