Linux - secure linux (SELinux)

> Operating System - Kernel (Windows, Unix, Linux) > Linux / Unix

2 - How to

2.1 - Disable secure linux

Disable secure linux by editing the /etc/selinux/config file, making sure the SELINUX flag is set as follows:

SELINUX=disabled

Alternatively, this can be done during the installation.

And reboot

reboot
Advertising

2.2 - Enforce

With an ansible playbook

tasks:
  - name: enable selinux
    command: /sbin/setenforce 1
os/linux/selinux.txt · Last modified: 2018/10/30 16:30 by gerardnico