[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] /var/log/messages permission denied Centos 4 and 5
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] /var/log/messages permission denied Centos 4 and 5
- From: "Josh Luthman" <josh (at) imaginenetworksllc.com>
- Date: Mon, 19 May 2008 11:15:49 -0400
- References: <C76DE1C678818B4E9D7722DA7D47897B1CCC774C49 (at) OMAHA.pgx.local> <961092e10805152355k471d071cw7624d6591a5326ec (at) mail.gmail.com> <ADAFDC6204D3C3499B0A7F3053E5F11D27A8EA (at) mailone.eng.exegy.net> <961092e10805161721o4e21ccccnb5926a2c420ba2e4 (at) mail.gmail.com> <ADAFDC6204D3C3499B0A7F3053E5F11D1F4780 (at) mailone.eng.exegy.net>
For the record...on all of my CentOS 5 and 5.1 boxes it stuck with the
modified group.
On Sat, May 17, 2008 at 11:21 AM, Krash, Paul <pkrash (at) exegy.com> wrote:
> Mr. Luthman wrote:
>
> > Can you give us all some details on how do to that?
>
> Sure!
> Here is the default script from Centos5.1 with the chmod command:
>
> #/etc/cron.daily/logrotate
> #!/bin/sh
> /usr/sbin/logrotate /etc/logrotate.conf
> EXITVALUE=$?
> if [ $EXITVALUE != 0 ]; then
> /usr/bin/logger -t logrotate "ALERT exited abnormally with
> [$EXITVALUE]"
> fi
> /bin/chmod 755 /var/log/messages
> exit 0
>
> Notice that this makes /var/log/messages world readable. :-O
>
> But I digress. :-)
>
> Best,
>
> PKrash, temporarily working off a Winserver, sorry for any Outlook
> mangling.
>
> This e-mail and any documents accompanying it may contain legally
> privileged and/or confidential information belonging to Exegy, Inc. Such
> information may be protected from disclosure by law. The information is
> intended for use by only the addressee. If you are not the intended
> recipient, you are hereby notified that any disclosure or use of the
> information is strictly prohibited. If you have received this e-mail in
> error, please immediately contact the sender by e-mail or phone regarding
> instructions for return or destruction and do not use or disclose the
> content to others.
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>
>
--
Josh Luthman
Office: 937-552-2340
Direct: 937-552-2343
1100 Wayne St
Suite 1337
Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer