On Thu, 17 Sep 2009, Anahi Ludue?a wrote:

Thanks for the answers!
The file didn't have the first line!
#!/usr/bin/php

Glad you found the answer. However...

The command ls -l returns:

-rwxrwxrwx 1 root     root       140 Sep 17 15:42 finconf.php

Having an executable with 777 permissions is a very bad idea. Think about somebody (or some program) executing something like:

        echo "rm -f -r /whatever-they-want" \
                >/var/lib/asterisk/agi-bin/finconf.php

--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwa...@sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to