In message <mailman.99.1282894128.29448.python-l...@python.org>, Rami 
Chowdhury wrote:

> On Wed, Aug 25, 2010 at 05:04, Lawrence D'Oliveiro
> <l...@geek-central.gen.new_zealand> wrote:
>
>> In message <pan.2010.08.22.04.26.33.547...@nowhere.com>, Nobody wrote:
>>
>>> Having this as a separate permission allows normal users to add entries
>>> to log files but not to erase existing entries.
>>
>> Unix/Linux systems can do this already.
> 
> Ooh, I didn't know that -- what combination of permissions would I
> have to use to get such an effect?

No special permissions needed at all—just use the syslog(3) functions.

And the nice thing is, you don’t have to know whether the system logs are 
kept on the local machine or on a remote machine, or how different 
categories of messages are divided up into different files, how log rotation 
is done, or anything like that—it’s all transparent.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to