security-switch --set strict   //同时启用执行控制, SELinux 和三权分立
kysec_set -n exectl -v original /usr/bin/xxxx      //可执行程序添加安全标记


setenforce 0  //执行这个,关闭selinux的,0是关闭,1是打开。








security-switch --set custom --list "exectl admin3"   //可以用这个命令把selinux关闭






开机默认关闭selinux

就是这个文件,/etc/selinux/config
在这里插入图片描述

neofetch

Logo

北京人形旗下天工造物具身智能开源社区,聚焦具身天工与慧思开物两大平台

更多推荐