Thanks to everyone who responded to my question about why my set uid perl
script would not run. It turns out that, due to security risks, DU does not
allow scripts to be setuid, only compiled programs. (Yes, I know setuid root
is a Bad Thing to do, but in this case I really need to.) Anyway, it turns
out there are 2 workarounds for this:
1) Write a small C wrapper program, which will run the perl script. Make the
compiled program setuid, and then the script will be run by the program as
that uid.
2) Compile perl with an option which allows setuid/gid emulation. I had not
done this when I initially installed perl, but when I enabled it and
reinstalled, it worked!
Thanks again,
Chantelle Keller
Systems Programmer, Ithaca College
ckeller_at_ithaca.edu
Received on Fri Jan 26 1996 - 15:53:31 NZDT