Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^9: Failed System/Exec Call under Right Permission with CGI

by whio (Beadle)
on Jul 20, 2006 at 21:16 UTC ( [id://562717]=note: print w/replies, xml ) Need Help??


in reply to Re^8: Failed System/Exec Call under Right Permission with CGI
in thread Failed System/Exec Call under Right Permission with CGI

This should tell you what permissions cgi scripts run as:
($name,$passwd,$uid,$gid,$quota,$comment,$gcos,$dir,$shell,$expire) = + getpwuid($>); print "Running as user $name (uid $uid)\n";
It is fairly common for cgi applications to run under a restricted user account.

Replies are listed 'Best First'.
Re^10: Failed System/Exec Call under Right Permission with CGI
by Hue-Bond (Priest) on Jul 20, 2006 at 21:30 UTC

    I usually do:

    print "$< - $> - $( - $)\n";

    --
    David Serrano

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-03-28 20:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found