Re: Question about how apache handles file opening with logging

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

 



On 10/11/07, Joseph Marcelletti <jmarcelletti@xxxxxxxxx> wrote:
> Thanks for the insight on that. I wasn't quite aware of that problem
> but the simplest work around is having it logged to the users
> directory, under a logs folder which is owned by root:root and not the
> user.. This prevents the issue you spoke of.

No it doesn't. If the user owns their own home directory, they can
just wipe the subdirectory and replace it with one they own.

> The thing I am faced
> with, is I need a way to provide the user their logs in real time, for
> reading, yet being gentle on the system.

You can do this with a piped logging problem, which is a simple script
that accepts log entries and standard input and writes them out again
however you want. Of course, you still have to be very careful about
the security issues because the piped logger will be run as root.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux