http://www.perlmonks.org?node_id=1219231


in reply to setuid system() calls on Solaris 11

I've tried several

Did those you tried include prepending the precise shell and args to the command list? eg.

my $shellfile = 'foo.sh'; my @cmd = ('/bin/sh', '-p', $shellfile); my $res = system (@cmd);

Note that I have no access to Solaris 11 so this is untested and is just a suggestion.