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 !
In reply to Parsing log files by cajun
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |