Security-Enhanced Linux (SELinux) is a Linux kernel security module that provides the mechanism for supporting access control security policies, including United States Department of Defense-style mandatory access controls (MAC).
SELinux is a set of kernel modifications and user-space tools that can be added to various Linux distributions. Its architecture strives to separate enforcement of security decisions from the security policy itself and streamlines the volume of software charged with security policy enforcement.
In this post will we show you how to disable Security-Enhanced Linux (SELinux) on CentOS 6.5/6.4/6.3/6.2/6.1/6.0
[ads]
Check selinux status:
# sestatus SELinux status: enabled SELinuxfs mount: /selinux Current mode: enforcing Mode from config file: enforcing Policy version: 24 Policy from config file: targeted
Disable SELinux on CentOS 6.4 permanently :
# vi /etc/sysconfig/selinux
Change “SELINUX=enforcing” to “SELINUX=disabled”:
# vi /etc/sysconfig/selinux
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing – SELinux security policy is enforced.
# permissive – SELinux prints warnings instead of enforcing.
# disabled – No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
# targeted – Targeted processes are protected,
# mls – Multi Level Security protection.
SELINUXTYPE=targeted
Save the file and RESTART the system. Without restart of system SELINUX mode will not be changed permanently.
[ads]
How to Integrate the SFTP (Linux) with AD (windows) to authenticate and login with AD users and groups. if you have any document kindly share it with me