[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bigsister-general] /var/log/messages: Permission denied


On Sat, Dec 17, 2005 at 03:23:56AM -0800, Backup e-mail wrote:
> I've got a small issue with <disk> and <msgs> tests. They fail 
> with the following error messages:
>   Cannot open the log: /var/log/messages: Permission denied
> Cannot open the log: /var/log/maillog: Permission denied 
>   The issue is that the <bigsis> account doesn't have the rights 
> to read them, therefore I could fix the issue by giving it read 
> rights. Nevertheless for security reasons I don't think it's the 
> smartest remedy I should implement. 
>   Surely this must has been resolved since. 
>   Does anybody care to share the solution?

I usually change the group of the logfiles to, say, daemon and put the
bigsis user into that group. If I make the logfiles group-readable, so
this should be fairly secure.

HTH! Tino.



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bigsister-general mailing list
suppressed
https://lists.sourceforge.net/lists/listinfo/bigsister-general


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.