tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Chantelle Keller <ckeller () ithaca ! edu>
To: tru64-unix-managers
Subject: SUMMARY: set uid scripts
Date: Fri, 26 Jan 1996 13:13:30 +0000	[thread overview]
Message-ID: <96076327921499.tru64-unix-managers.marc@archive.invalid> (raw)

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

                 reply	other threads:[~1996-01-26 13:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox