> -Original Message-
> From: Frank Wu [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 15, 2001 10:53 PM
> To: [EMAIL PROTECTED]
> Subject: cgi & syslog
>
>
> Hi all,
>
> I'm writing a simple perl cgi script to populate some
> infomatio
>Does anybody know how to access root owned file via cgi script?
Not unless your webserver (which runs the cgi script with its own
permissions) is set as root, and that's normally a big no-no. There is a
Syslog module though - you may want to look into that (I know nothing
about it, though)...
Hi all,
I'm writing a simple perl cgi script to populate some infomation from syslog
file,
open FILE, " | tail /var/log/daemon.log";
but always got permission denied, no matter what i do about $>, $<
Does anybody know how to access root owned file via cgi script?
Thank in advance
Fra