GBase 8c
其他
文章

GBase 8c部署准备(三):关闭SELINUX

发表于2023-12-08 16:24:5413次浏览3个评论

关闭selinux:

[gbase@localhost ~]$ sudo vim /etc/selinux/config

设置为SELINUX=disabled,保存退出:

# 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 - No SELinux policy is loaded.

SELINUX=disabled

# SELINUXTYPE= can take one of three values:

#     targeted - Targeted processes are protected,

#     minimum - Modification of targeted policy. Only selected processes are protected.

#     mls - Multi Level Security protection.

SELINUXTYPE=targeted

评论

登录后才可以发表评论
崔哥发表于 9个月前
给你点个赞
崔哥发表于 8个月前
桃未芳菲杏未红,冲寒先喜笑东风。魂飞庾岭春难辨,霞隔罗浮梦未通。绿萼添妆融宝炬,缟仙扶醉跨残虹。看来岂是寻常色,浓淡由他冰雪中。
用户头像
levvel发表于 2个月前
海纳百川有容乃大,壁立千仞无欲则刚