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

Make Changes to Network Shared Printer

From a Windows 7 Workstation, click Start >> Run >> \\SRVIFILE02 >> Enter >> click…

PowerShell: Discover Domains and Trusts in Microsoft Windows Environment

PS C:\Windows\system32> Get-ADTrust -Filter *Direction : BiDirectionalDisallowTransivity : FalseDistinguishedName : CN=kimconnectschools.org,CN=System,DC=kimconnect,DC=k12,DC=ca,DC=usForestTransitive : TrueIntraForest : FalseIsTreeParent…

How to Search for Installed Application by Name in PowerShell

One can search using the known Vendor or application Name as illustrated below: [testwindows]: PS…
Other project: DragonCoin.com