Teh Hermit

Differences

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

Link to this comparison view

Next revision
Previous revision
redos_и_selinux [2025/12/09 09:51] – created jpredos_и_selinux [2025/12/09 09:52] (current) jp
Line 4: Line 4:
  
   sestatus   sestatus
 +Увидим режим работы и другие параметры. Пример:
 +<code>
 +SELinux status:                 enabled
 +SELinuxfs mount:                /sys/fs/selinux
 +SELinux root directory:         /etc/selinux
 +Loaded policy name:             targeted
 +Current mode:                   permissive
 +Mode from config file:          permissive
 +Policy MLS status:              enabled
 +Policy deny_unknown status:     allowed
 +Memory protection checking:     actual (secure)
 +Max kernel policy version:      33
 +</code>
 === Отключение SELinux === === Отключение SELinux ===
  
Line 10: Line 23:
   sudo sed -i "s/SELINUX=enforcing/SELINUX=permissive/" /etc/selinux/config   sudo sed -i "s/SELINUX=enforcing/SELINUX=permissive/" /etc/selinux/config
   reboot   reboot
 +{{tag>Linux Security}}
redos_и_selinux.1765273895.txt.gz · Last modified: by jp