access to httpd logs

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



James Pifer wrote on Thu, 01 Dec 2005 13:07:20 -0500:

> The problem is the logs are owned by root. How can I make them readable 
> by this generic id without completely compromising security?

You can either change owner or make it readable to more than just root. I 
don't see this as a security problem.

 Plus, as 
> the logs rotate this id will still need access.

This can be accomodated with logrotate configuration if that is also 
rotating your user's file which I don't know. Look in /etc/logrotate.d for 
the apache file. You can change owner, chmod etc. in that file.



Kai

-- 
Kai Sch?tzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com
IE-Center: http://ie5.de & http://msie.winware.org




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux