Re: [PHP] su idn't working from within php

2004-01-27 Thread Jas
majer" <[EMAIL PROTECTED]> To: "Nitin Mehta" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, January 27, 2004 4:03 PM Subject: Re: [PHP] su idn't working from within php Why do you need su? Set up sudo for apache user. Nitin Mehta wrote: hi all

Re: [PHP] su idn't working from within php

2004-01-27 Thread Marek Kilimajer
ROTECTED]> To: "Nitin Mehta" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, January 27, 2004 4:03 PM Subject: Re: [PHP] su idn't working from within php Why do you need su? Set up sudo for apache user. Nitin Mehta wrote: hi all i was trying to execute some co

Re: [PHP] su idn't working from within php

2004-01-27 Thread Nitin Mehta
but how would i store keys for apache? - Original Message - From: "Marek Kilimajer" <[EMAIL PROTECTED]> To: "Nitin Mehta" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, January 27, 2004 4:03 PM Subject: Re: [PHP] su idn't working fro

Re: [PHP] su idn't working from within php

2004-01-27 Thread Marek Kilimajer
Why do you need su? Set up sudo for apache user. Nitin Mehta wrote: hi all i was trying to execute some commands as an authorized user from within my php script with exec ("su -c \"sudo \" 2>&1;", $output); but it gives me standard in must be a tty how can i make it work? it runs perfectly

[PHP] su idn't working from within php

2004-01-27 Thread Nitin Mehta
hi all i was trying to execute some commands as an authorized user from within my php script with exec ("su -c \"sudo \" 2>&1;", $output); but it gives me standard in must be a tty how can i make it work? it runs perfectly at command prompt I even tried to ssh, but the problem is where sho