Once upon a time, Suvayu Ali <fatkasuvayu+li...@gmail.com> said:
> Your permission changes will be overwritten the moment a daemon sends a
> message to syslog.

No, they won't.  Where did you get that idea?  The syslog/rsyslog daemon
runs as root and can write to the file, no matter the permissions.  It
doesn't ever change permissions/ownership.

> 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.  Say a regular user is
> compromised, the logs are still intact and you can probably investigate
> what went wrong since you still trust the logs.  Of course this
> reasoning becomes moot the moment your root account is compromised.

The OP asked about making the logs readable by group wheel, not
writable.

-- 
Chris Adams <li...@cmadams.net>
-- 
users mailing list
users@lists.fedoraproject.org
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

Reply via email to