lyle has asked for the wisdom of the Perl Monks concerning the following question:
I need cron to regularly check a file (ie the /etc/sudoers file) for any changes. It could just test for checksum differences, but better if it tells what the change was. It'll be a good exercise for me (new to Perl), but I'm guessing it's already been done. No CPAN search is turning it up, though.
Any advice on how to go about this, or a pointer to something in CPAN is appreciated.
Thanks....Lyle
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: checking a file for changes
by syphilis (Archbishop) on Sep 17, 2010 at 00:03 UTC | |
|
Re: checking a file for changes
by CountZero (Bishop) on Sep 17, 2010 at 06:03 UTC | |
|
Re: checking a file for changes
by ww (Archbishop) on Sep 17, 2010 at 00:08 UTC | |
|
Re: checking a file for changes
by Khen1950fx (Canon) on Sep 17, 2010 at 23:02 UTC |