[CentOS] custom SELinux?

Daniel de Kok danieldk at pobox.com
Mon Jul 2 20:34:40 UTC 2007


On Mon, 2007-07-02 at 12:16 -0700, Florin Andrei wrote:
> So, I need to tell SELinux "hey, this stuff under 
> /home/foobar/spool/cyrus is just like /var/spool/cyrus, don't relabel it 
> to something else". How do I achieve that?

Add it to the local file contexts for your policy. The "semanage" tool
provides a handy interface to do this. The manual page has some useful
examples.

-- Daniel




More information about the CentOS mailing list