Solved

Perl-CGI Ping, RSH, RCP, REXEC Problem

Posted on 1998-05-28
2
567 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
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 100 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
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…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

932 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now