in reply to How to determine the program path from a set-uid program
You read correctly re: the security issue. In fact, this
very information is found in perlsec. So, unless you're
willing to use a wrapper script of some sort (which, it
seems, could have the disadvantage of making your program
insecure anyway), I don't think there's a solution to your
problem. Sorry.
|
---|
In Section
Seekers of Perl Wisdom