<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Thanks guys, I'll take it into account!...<br><br><br><div><p align="center"><font face="Verdana, Geneva, Arial, Sans-serif"><strong>
<hr>
</strong></font></p>
<p align="center"><font face="Verdana, Geneva, Arial, Sans-serif"><strong>Anahi Ludueña</strong></font></p>
<p align="center"> </p></div><br><br><br><br>> Date: Fri, 18 Sep 2009 10:13:12 +0100<br>> From: ish@pack-net.co.uk<br>> To: asterisk-users@lists.digium.com<br>> Subject: Re: [asterisk-users] DeadAgi<br>> <br>> <br>> <br>> Steve Edwards wrote:<br>> > On Thu, 17 Sep 2009, Anahi Ludue?a wrote:<br>> ><br>> >> Thanks for the answers!<br>> >> The file didn't have the first line!<br>> >> #!/usr/bin/php<br>> ><br>> > Glad you found the answer. However...<br>> ><br>> >> The command ls -l returns:<br>> >><br>> >> -rwxrwxrwx 1 root root 140 Sep 17 15:42 finconf.php<br>> ><br>> > Having an executable with 777 permissions is a very bad idea. Think <br>> > about somebody (or some program) executing something like:<br>> ><br>> > echo "rm -f -r /whatever-they-want" \<br>> > >/var/lib/asterisk/agi-bin/finconf.php<br>> ><br>> Agreeing with the above here, really you want the script owned by <br>> asterisk.asterisk and permissions of 0755<br>> <br>> Ish<br>> <br>> > ------------------------------------------------------------------------<br>> ><br>> > _______________________________________________<br>> > -- Bandwidth and Colocation Provided by http://www.api-digital.com --<br>> ><br>> > AstriCon 2009 - October 13 - 15 Phoenix, Arizona<br>> > Register Now: http://www.astricon.net<br>> ><br>> > asterisk-users mailing list<br>> > To UNSUBSCRIBE or update options visit:<br>> > http://lists.digium.com/mailman/listinfo/asterisk-users<br>> <br>> -- <br>> Ishfaq Malik<br>> Software Developer<br>> PackNet Ltd<br>> <br>> Office: 0161 660 3062<br>> <br>> _______________________________________________<br>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --<br>> <br>> AstriCon 2009 - October 13 - 15 Phoenix, Arizona<br>> Register Now: http://www.astricon.net<br>> <br>> asterisk-users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>> http://lists.digium.com/mailman/listinfo/asterisk-users<br>                                            <br /><hr />Charlas más divertidas con el nuevo <a href='http://download.live.com' target='_new'>Windows Live Messenger</a></body>
</html>