Re: Permissions on /var/log/ files

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

 




Am 17.07.2013 16:46, schrieb Suvayu Ali:
> On Wed, Jul 17, 2013 at 10:35:46PM +0800, Ed Greshko wrote:
>> On 07/17/13 22:27, Timothy Murphy wrote:
>>> Ed Greshko wrote:
>>>> Heck, you could always make your sudo password less and you could always
>>>> assign the frequently used commands aliases.
>>> I guess my question should have been:
>>> Will it cause any problems if I change the permissions on these files?
>>> Is there any program that won't work if you do this,
>>> as is true eg of some .ssh and pki files?
>>>
>> But why bother?  You can't be assured that some update or process won't go about changing them back on you.  Then, you'll be scratching your head again. 
>>
>> Does the cron job to roll log files reset things?  Don't know...and I don't want to care.
>>
>> I prefer solutions that don't require changing things over which you don't or may not have absolute control.
> 
> Your permission changes will be overwritten the moment a daemon sends a
> message to syslog

*no they are not*
otherwise my /var/log/maillog on my workstation would not have 644

> AFAIU, the reason the logs are owned by root is because it is written by
> syslog (which runs as root).  The motivation I think is, the logs should
> remain untampered if your system is compromised

how does chmod 644 affect *write* permissions?

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux