The Magician

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
ntp_в_redos [2026/05/26 12:30] jpntp_в_redos [2026/05/26 12:31] (current) jp
Line 41: Line 41:
  
   allow 192.168.0.0/16   allow 192.168.0.0/16
-===== RedOS и SELinux ===== 
- 
-=== Просмотр статуса SELinux === 
- 
-  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 не рекомендуется, лучше просто перевести его в permissive режим следующим образом: 
- 
-  sudo sed -i "s/SELINUX=enforcing/SELINUX=permissive/" /etc/selinux/config 
-  reboot 
 {{tag>Linux NTP}} {{tag>Linux NTP}}
ntp_в_redos.1779798656.txt.gz · Last modified: by jp