歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> RHEL 6: semanage SELinux命令找不到

RHEL 6: semanage SELinux命令找不到

日期:2017/2/27 15:59:59   编辑:Linux教程
RHEL 6: semanage SELinux Command Not Found
You need to use the yum command to find out which package provides file called /usr/sbin/semanage. Type the following command:
首先需要使用yum命令找到/usr/sbin/semanage對應的包名,命令如下:
# yum provides /usr/sbin/semanage //查找命令或文件對應包名
Loaded plugins: product-id, security, subscription-manager
Updating certificate-based repositories.
policycoreutils-python-2.0.83-19.18.el6.i686 : SELinux policy core python utilities
Repo : repo
Matched from:
Filename : /usr/sbin/semanage

安裝
# yum -y install policycoreutils-python
Copyright © Linux教程網 All Rights Reserved