您的当前位置:首页 >应用开发 >SELinux服务器不关闭配置 samba的方法 正文

SELinux服务器不关闭配置 samba的方法

时间:2025-11-05 14:01:54 来源:网络整理编辑:应用开发

核心提示

复制Disableselinux [root@Jie~]#vi/etc/sysconfig/selinux #Thisfilecontrolsthest

SELinux服务器不关闭配置 samba的方法
服法复制Disable selinux    [root@Jie ~]#  vi /etc/sysconfig/selinux   # This file controls the state of SELinux on the system.   # SELINUX= can take one of these three values:   #       enforcing - SELinux security policy is enforced.   #       permissive - SELinux prints warnings instead of enforcing.   #       disabled - SELinux is fully disabled.   SELINUX=enforcing # SELINUXTYPE= type of policy in use. Possible values are:   #       targeted - Only targeted network daemons are protected.   #       strict - Full SELinux protection.   SELINUXTYPE=targeted 1.2.3.4.5.6.7.8.9.10.11.12.