how to setuid for shell scripts?

David I. Berg dberg at informix.com
Fri Nov 16 07:27:30 AEST 1990


In article <25009 at adm.brl.mil> K390590%AEARN at 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.



More information about the Comp.unix.internals mailing list