selinux:temporarily_switch_on_selinux_enforcement
Differences
This shows you the differences between two versions of the page.
selinux:temporarily_switch_on_selinux_enforcement [2016/07/11 10:56] – created peter | selinux:temporarily_switch_on_selinux_enforcement [2019/12/04 20:30] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== SELinux - Temporarily switch on SELinux enforcement ===== | ||
- | |||
- | Temporarily switch on SELinux enforcement. | ||
- | |||
- | Type the following command as root user: | ||
- | |||
- | <code bash> | ||
- | echo 1 >/ | ||
- | </ | ||
- | |||
- | Type the following command to see current status, enter: | ||
- | |||
- | <code bash> | ||
- | sestatus | ||
- | </ | ||
- | |||
- | Sample outputs: | ||
- | |||
- | <code bash> | ||
- | SELinux status: | ||
- | SELinuxfs mount: | ||
- | Current mode: | ||
- | Mode from config file: enforcing | ||
- | Policy version: | ||
- | Policy from config file: targeted | ||
- | </ | ||
selinux/temporarily_switch_on_selinux_enforcement.1468234576.txt.gz · Last modified: 2020/07/15 09:30 (external edit)