Re: Can I change group and permissions on the messages file?
- From: Bit Twister <BitTwister@xxxxxxxxxxxxxxxx>
- Date: Sun, 24 Sep 2006 20:51:48 -0500
On Mon, 25 Sep 2006 01:47:28 +0000 (UTC), Ohmster wrote:
Did the locate stat |grep bin and came back with plenty, this one seems
relevelt:
/usr/bin/stat
Let's try it again with an updated path to stat.
Well, the file ran and gave no output, perhaps it works. Will put it in
place as a cron daily and see if it works.
Do a
chmod 400 /var/log/messages
and run the cron job early. What is the the daily cron job you ask?
$ cat /etc/crontab
# run-parts
01 * * * * root nice -n 19 run-parts --report /etc/cron.hourly
02 4 * * * root nice -n 19 run-parts --report /etc/cron.daily
22 4 * * 0 root nice -n 19 run-parts --report /etc/cron.weekly
42 4 1 * * root nice -n 19 run-parts --report /etc/cron.monthly
Ok, let's run it
nice -n 19 run-parts --report /etc/cron.daily
ls -al /var/log/messges
.
- Follow-Ups:
- References:
- Can I change group and permissions on the messages file?
- From: The Ohmster
- Re: Can I change group and permissions on the messages file?
- From: Ohmster
- Re: Can I change group and permissions on the messages file?
- From: Bit Twister
- Re: Can I change group and permissions on the messages file?
- From: Ohmster
- Re: Can I change group and permissions on the messages file?
- From: Bit Twister
- Re: Can I change group and permissions on the messages file?
- From: Ohmster
- Can I change group and permissions on the messages file?
- Prev by Date: Re: Can I change group and permissions on the messages file?
- Next by Date: Re: Bit Twister: Is this the dhclient-exit-hooks you were talking about?
- Previous by thread: Re: Can I change group and permissions on the messages file?
- Next by thread: Re: Can I change group and permissions on the messages file?
- Index(es):
Relevant Pages
|