Linux 技术手札

解决 semanage command not found

semanage 是可以设定 SELinux 的工具,在 RHEL / CentOS minimal 安装后,并没有安装 semanage,执行会出现 command noy found:

semanage command not found

要解决只要安装 policycoreutils-python 套件即可:

# yum install policycoreutils-python

安装好 policycoreutils-python 便可以正常执行 semanage.

Exit mobile version