[hobbit] /var/log/messages permission denied Centos 4 and 5

Josh Luthman josh at imaginenetworksllc.com
Mon May 19 17:15:49 CEST 2008


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20080519/1b37cc89/attachment.html>


More information about the Xymon mailing list