User Tools

Site Tools


selinux:temporarily_switch_on_selinux_enforcement

This is an old revision of the document!


SELinux - Temporarily switch on SELinux enforcement

Temporarily switch on SELinux enforcement.

Type the following command as root user:

echo 1 >/selinux/enforce

Type the following command to see current status, enter:

sestatus

Sample outputs:

SELinux status:                 enabled
SELinuxfs mount:                /selinux
Current mode:                   enforcing
Mode from config file:          enforcing
Policy version:                 24
Policy from config file:        targeted
selinux/temporarily_switch_on_selinux_enforcement.1468234576.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki