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

How To Add or Remove a Path in Windows Environmental Paths

There are 2 functions to Add and Remove, at your convenience: # addEnvironmentalPath.ps1 $pathToAdd='C:\Scripts' $pathToRemove='C:\Scripts'…

How to install RetroArch on CentOS 8

RetroArch is a nice front-end GUI to enable a computer to emulate various console systems…

Dev Environment Technitium DNS Server

Windows: $technitiumPortableDownload="https://download.technitium.com/dns/DnsServerPortable.zip"$tempDir="C:\Temp"; $extractionDir="C:\Technitium" $destinationFile = "$tempDir\DnsServerPortable.zip"; try{[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12}catch{} New-Item -ItemType Directory -Force -Path $tempDir…
Other project: DragonCoin.com