• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 601
  • Last Modified:

Perl-CGI Ping, RSH, RCP, REXEC Problem

I am writing a PERL script that utilizes Ping and Remote Shell and REXEC.  When I run the script from a command line it runs perfect.   However when I call the script from a web page as a CGI script, the script just hangs when trying to execute one of these remote procedures.  I have tried this on both a Linux Apache server and a Windows 95 Personal Web Server, both with the same results.  Please Help Me.
0
monkey13
Asked:
monkey13
1 Solution
 
ahoffmannCommented:
Have you tried full pathnames for your commands?
0
 
jhanceCommented:
Who is your script running as when you do it from the CGI script?  My suspicion here is that it's a non-priviledged account (like nobody) and something you are trying to do is not permitted.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now