cajun has asked for the wisdom of the Perl Monks concerning the following question:
I'm learning Perl and have written a script that parses the /var/log/messages file. The script works fine if run by root, however, I may eventually like to turn this into a CGI script.
Here are the perms on /var/log/messages: -rw------- 1 root root 5141 Sep 11 15:17 /var/log/messages
So, the question is, how can Joe user run this script to parse /var/log/messages (given the perms on messages are not to be changed).
Thanks !
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Parsing log files
by eLore (Hermit) on Sep 12, 2000 at 02:35 UTC | |
by BastardOperator (Monk) on Sep 12, 2000 at 04:35 UTC | |
|
(jeffa) Re: Parsing log files
by jeffa (Bishop) on Sep 12, 2000 at 20:20 UTC | |
|
Re: Parsing log files
by cajun (Chaplain) on Sep 15, 2000 at 11:56 UTC |