User Tools

Site Tools


selinux:temporarily_switch_on_selinux_enforcement

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

selinux:temporarily_switch_on_selinux_enforcement [2016/07/11 10:56] – created peterselinux: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 >/selinux/enforce 
-</code> 
- 
-Type the following command to see current status, enter: 
- 
-<code bash> 
-sestatus 
-</code> 
- 
-Sample outputs: 
- 
-<code bash> 
-SELinux status:                 enabled 
-SELinuxfs mount:                /selinux 
-Current mode:                   enforcing 
-Mode from config file:          enforcing 
-Policy version:                 24 
-Policy from config file:        targeted 
-</code> 
  
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