Can I change group and permissions on the messages file?
- From: The Ohmster <ohmster@xxxxxxxxxxx>
- Date: Sun, 24 Sep 2006 20:34:00 +0000 (UTC)
I have been talking with bit twister and he showed me a real neat
xconsole command to view the system messages while in xwindows.
xconsole -fg lawngreen -bg black -geom 1000x50+7+00 -file
/var/log/messages &
(All one line.)
Anyway, I am not able to open the /var/log/messages file as a
non-privileged user so I changed the group on the file from root to
ohmster and then changed the default permissions from rw owner only to
rw owner, rw group. Now I can open and view the file while I am in
xwindows with the cool xconsole command.
I went from this:
-rw------- 1 root root 432K Sep 24 16:17 messages
To this:
-rw-rw---- 1 root ohmster 432K Sep 24 16:17 messages
My question is: Is it alright to change group and permission on the
messages file and will this change "stick" or will it be lost when the
log files rotate? What would you all suggest for me to do so that I can
view the messages file anytime, as a non-root user (Me only, not
everyone on the system.)?
--
~Ohmster
"Read Ohmster" in subject, bypass spam filter.
ohmster /a/t/ newsguy dot com
.
- Follow-Ups:
- Re: Can I change group and permissions on the messages file?
- From: Steve Ackman
- Re: Can I change group and permissions on the messages file?
- From: Ohmster
- Re: Can I change group and permissions on the messages file?
- Prev by Date: Re: Bit Twister: Is this the dhclient-exit-hooks you were talking about?
- Next by Date: Re: Bit Twister: Is this the dhclient-exit-hooks you were talking about?
- Previous by thread: Mission critical ...
- Next by thread: Re: Can I change group and permissions on the messages file?
- Index(es):
Relevant Pages
|