首页
/
每日頭條
/
生活
/
修改SELINUX為寬容修改配置文件命令
修改SELINUX為寬容修改配置文件命令
更新时间:2025-08-03 21:23:54

  1、selinux的配置文件:/etc/selinux/config# This file ...

  2、查看現在selinux的狀态:sestatus

  3、永久改變selinux的狀态,需要重新開機,因為,selinux是整合到内核的模塊。

  4、臨時關閉selinux:setenforce 0

  5、臨時打開,由permissive轉enforcing:setenforce 1

Comments
Welcome to tft每日頭條 comments! Please keep conversations courteous and on-topic. To fosterproductive and respectful conversations, you may see comments from our Community Managers.
Sign up to post
Sort by
Show More Comments
Copyright 2023-2025 - www.tftnews.com All Rights Reserved