• 1

multiple contexts

I have a file that needs to be read by both apache and sendmail. What can I do?

Re: multiple contexts

Simplest way would be to just add the allow rules to allow sendmail_t or system_mail_t to read httpd_sys_content_t.

grep sendmail /var/log/audit/audit.log | grep http | audit2allow -M mysendmail
semodule -i mysendmail.pp

Would allow all access that was requested by sendmail to look at apache content.

  • 1

Log in