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

Windows: How To Expand Disk Volumes That Are Not Adjacent the Intended Volume

Problem: Here's a scenario when a virtualized disk has been expanded in Hyper-V, Vmware, AWS,…

Remediate IE Vulnerabilities

<# PowerShell Script to Secure Internet Explorer & Memory Operations reg add "HKLM\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_ENABLE_PRINT_INFO_DISCLOSURE_FIX" /v…

OpenLDAP Migration

LDAP PKGSRC Cutover # Compress ldap directory on WEB01.PROD tar -C /home/webadmin/pkg/var/openldap -czvf /tmp/kimconnect-com.gz kimconnect-com…