Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: setuid system() calls on Solaris 11

by hippo (Chancellor)
on Jul 25, 2018 at 08:11 UTC ( #1219231=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1219231]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2019-10-24 00:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?