Posted On April 1, 2019

Experimental selinux Settings

kimconnect 0 comments
blog.KimConnect.com >> Linux , Windows >> Experimental selinux Settings
enable or disable selinux:
vim /etc/sysconfig/selinux
 
setsebool -P httpd_read_user_content 1
 
grep nginx /var/log/audit/audit.log | audit2allow -M mypol
semodule -i mypol.pp
 
enableaudit.pp base policy is provided in 
/usr/share/selinux/[policyname]/enableaudit.pp. Install that with: 
semodule -b path_to_enableaudit
and you should see all denials.

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Linux: GREP Training

Lorum Ipsum - let's learn about grep, ya'll Examples: # Get information only on the…

BASH: Basic SED Training

Do you know Sed? If you ask 'who is he', then this little article if…

How to Install Chrome on Ubuntu 20.04

Ubuntu and its variants are pre-packaged with Mozilla's Firefox Web Browser. Although that is a…
Other project: DragonCoin.com