Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: setuid system() calls on Solaris 11

by baataboom (Initiate)
on Jul 25, 2018 at 15:11 UTC ( #1219267=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if (system ( "/usr/bin/cp -f $version/$obj $dest 2> /dev/null")) {
    
  2. or download this
    if (system ( '/usr/bin/cp', '-f', "$version/$obj", $dest '2>', 
         '/dev/null')) {
    
  3. or download this
    if (system ( /bin/sh', '-p', '-c', '/usr/bin/cp', '-f', 
         "$version/$obj", $dest '2>', '/dev/null')) {
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2019-10-23 16:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?