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

A Few Todos while Securing Apache Server

- Install mod_security - Set expose_php = Off in php.ini - Set SecResponseBodyAccess Off in…

Quick 1-liner: Raise Domain Functional Level from 2003 to 2012 R2

This command is required to enable 2012R2 functional level (group policy replication) adprep /domainprep /gpprep…

Fix DFS Replication Problems

1. Remove failed server from Replication Group 2. Right-click "System Volume Information" >> Properties >>…
Other project: DragonCoin.com