--- Ron Johnson <[EMAIL PROTECTED]> wrote: > On Thu, 2006-01-05 at 13:24 -0500, Marty Landman > wrote: > > At 12:54 PM 1/5/2006, Ron Johnson wrote: > > >On Thu, 2006-01-05 at 11:27 -0500, celejar wrote: > > > > I'm looking for an application to do remote > administration of my > > > > Debian box via email. The app should read mail > (presumably > > > > authenticating via pgp / gpg keys) and execute > commands contained > > > > therein. The box connects to the internet > intermittently to download > > > > mail, but does not have a persistent > connection so I can't use ssh or > > > > webmin. I have googled but not found anything. > I suppose it would be > > > > straightforward to do this with Perl or even > shell scripting, but I > > > > don't have much experience with either, and as > I assume someone has > > > > already done this, why reinvent the wheel? In > addition to my > > > > situation, such an application would also be > useful for managing a > > > > system from clients such as cell phones or > email capable pagers.
There is an alternative which I used for a while. Put your scripts that you wish to run on the web securely. Have your server check www.myboxsomewhere.com/runme with wget - perhaps hourly? Or more frequently. The chmod that text to make it executable. Obviously if the website is insecure (or the method of posting scripts) then your server is in trouble! I used a flag system (check for the presence of flag_randomword) before actually running the script. This meant that a script only got run once, as the second time the flag was present. HTH -- Matt ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]