Syslog to /dev/tty10
Russell Coker
russell at coker.com.au
Thu Mar 18 04:31:16 UTC 2004
On Thu, 18 Mar 2004 15:14, Aleksey Nogin <aleksey at nogin.org> wrote:
> If I want syslogd to log to a tty, what is the "proper" way of allowing it?
>
> Should I augment the local file contexts to set /dev/tty10 to be
> var_log_t? Or should I augment the local policies to allow syslogd_t
> processes more access? Or should I do something else?
allow syslogd_t tty_device_t:chr_file { getattr write };
Should hopefully do it.
--
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/ Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/ My home page
More information about the fedora-selinux-list
mailing list