View Single Post


Old
  Post #3 (permalink)   09-26-2007, 01:57 PM
ANMMark
HD Community Advisor
 
ANMMark's Avatar
 
Join Date: Sep 2004
Location: Pennsylvania
Posts: 1,580

Status: ANMMark is offline
HHS-Rob, this would be virtually impossible, unless the script was setup to recognize the commands given.

There would be a lot of factors to take into consideration as well.
1. The script would have to be located on an account that has root level, or super user level SSH access.

2. At the very least, shell_exec would need to be enabled.

3. Email piping takes the incoming message, and sends it off, it doesn't interpret any of it. It just receives and sends by default. The script would need to be configured to interpret the command, before it actually could.
__________________
Mark - Co-President/Lead Developer
avidInteractive Software
The ServeraSuite 2007 Award Winning Professional Server Monitoring Solution - Click here