Hi, I want to develop a PHP+Perl interface to manage a DNS and a few Mail servers. I need to interact with other machines on the same network.
Which is the best way to execute commands invoked from the web interface, pass them to perl and then let them be executed on local and remote machines? How do PHP and Perl communicate? Via the "system/exec" function? Example: from a web panel I want to modify MX records for my DNS zones, then update transport/mailertable files on remote machines. Should I put public keys in /root/.ssh/authorized_keys on all machines and then exec a "ssh [EMAIL PROTECTED] ....."? Isn't there a more *elegant* solution? Thanks Mariano -- ------------------------- Mariano Cunietti System Administrator Enter S.r.l. Via Stefanardo da Vimercate, 28 20128 - Milano - Italy Tel. +39 02 25514319 Fax +39 02 25514303 [EMAIL PROTECTED] www.enter.it - www.enterpoint.it --------------------------- Gruppo Y2K - www.gruppoy2k.it -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>