I didn't finish that last post, I added that line to the /etc/profile on the system running the script. However it ddidn't seem to work properly. Another odd thing to note, is that when I su to the user my webserver is running the script as, and run it command line it works fine. It is only...
I am trying to get a cgi script to interact with a remote server. The script logs into the server, runs a command, and prints the output of the command to a webpage. At least it's supposed to.. I am using the expect module to log into the remote system via ssh, my problem is that when I log in...
I'm new to perl, I'm trying to create a script that will capture tcpdump data into a specified file. So far i've been able to run the command just fine, however i don't know how to stop the process after a certain period of time. Say I want to capture 30 seconds of tcpdump data, how do I stop...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.