Think about Loose Coupling | |
PerlMonks |
Re: execute a program / cgiby wardk (Deacon) |
on Apr 17, 2002 at 21:35 UTC ( [id://160015]=note: print w/replies, xml ) | Need Help?? |
Since this was a "blunder", perhaps it's a one-time problem?
You already know that you don't want to do this sort of thing.
Perhaps instead of trying to restart sshd via a CGI script,
you'd be better served to work to ensure that this sort of
blunder cannot re-occur and address restarting them
using an entirely different (and secure) method in
case it somehow happens again?
Seems solving it this way would just be compounding the blunder, not alleviating it!
In Section
Seekers of Perl Wisdom
|
|