From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076327921499.tru64-unix-managers.marc@archive.invalid> From: Chantelle Keller Date: Fri, 26 Jan 1996 13:13:30 +0000 To: tru64-unix-managers Subject: SUMMARY: set uid scripts X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076327921499 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@ithaca.edu