How to manage selinux in CentOS

SElinux means Security-Enhanced Linux is a Linux kenel security module that provides theĀ mechanism for supporting access control security policies. So I will show you some commands to answer the question how to manage selinux.

To show status of Selinux:

To change selinux policies (e.g: httpd_can_network_connect_db parameter) :

That’s all šŸ™‚