// Aula 2 - Compreendendo as alterações de contexto e a política # cd / # ls -Z # yum whatprovides semanage # yum -y install policycoreutils-python # semanage port -a -t mongod_port_t -p tcp 27017 # ls -Z /var/www # semanage fcontext -a -t httpd_sys_content_t "/mydir(/.*)?" # semanage fcontext -a -t httpd_sys_content_t "/web(/.*)?"