Solved

Perl-CGI Ping, RSH, RCP, REXEC Problem

Posted on 1998-05-28
2
564 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
Comment Utility
Have you tried full pathnames for your commands?
0
 
LVL 32

Accepted Solution

by:
jhance earned 100 total points
Comment Utility
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

I've just discovered very important differences between Windows an Unix formats in Perl,at least 5.xx.. MOST IMPORTANT: Use Unix file format while saving Your script. otherwise it will have ^M s or smth likely weird in the EOL, Then DO NOT use m…
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 video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

762 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

11 Experts available now in Live!

Get 1:1 Help Now