?
Solved

Perl-CGI Ping, RSH, RCP, REXEC Problem

Posted on 1998-05-28
2
Medium Priority
?
587 Views
Last Modified: 2012-06-22
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
Comment
Question by:monkey13
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1206628
Have you tried full pathnames for your commands?
0
 
LVL 32

Accepted Solution

by:
jhance earned 200 total points
ID: 1206629
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Six Sigma Control Plans
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question