User Tools

Site Tools


selinux:change_the_selinux_mode

Differences

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

Link to this comparison view

Next revision
Previous revision
selinux:change_the_selinux_mode [2016/07/11 10:29] – created peterselinux:change_the_selinux_mode [2019/12/04 20:15] (current) – removed peter
Line 1: Line 1:
-====== SELinux - Change the SELinux mode ====== 
- 
-Change the SELinux mode in /etc/selinux/config (optional): 
- 
-===== Enforcing ===== 
- 
-<code bash> 
-sudo sed -i 's/SELINUX=.*/SELINUX=enforcing/' /etc/selinux/config  
-</code> 
- 
- 
-===== Permissive ===== 
- 
-<code bash> 
-sudo sed -i 's/SELINUX=.*/SELINUX=permissive/' /etc/selinux/config  
-</code> 
  
selinux/change_the_selinux_mode.1468232943.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki