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

PowerShell: Setting WSUS Registry Setting On/Off for Client Windows

# setWsusOnOff.ps1function setWsus{ param( [switch]$on, [switch]$off ) function wuRegistryIsOn{ # Check if this machine has…

Error: Kernel panic – not syncing : VFS: Unable to mount root fs on unknown-block(0,0)

If this has been caused by an interrupted system update: - Boot the system via…

How to Install Chromium or Chrome on Debian-based Linux

Open Source Chromium Q: What's the difference between Chrome and Chromium? A: Chrome is enhanced…