Problems? Is your data what you think it is? | |
PerlMonks |
setuid system() calls on Solaris 11by baataboom (Initiate) |
on Jul 24, 2018 at 23:48 UTC ( [id://1219211]=perlquestion: print w/replies, xml ) | Need Help?? |
baataboom has asked for the wisdom of the Perl Monks concerning the following question:
We have a number of Perl scripts running setuid that invoke system() calls. (No flames please). In our migration from Solaris 10 to Solaris 11, we've found that /bin/sh won't respect the setuid credentials unless there is a '-p' included on the /bin/sh command. It looks like system() invokes /bin/sh -c ... . Would there be a way to include the '-p' in system()'s call to sh? I've tried several and none have been successful.
Thanks,
Mark
Back to
Seekers of Perl Wisdom
|
|