RHEL 6: semanage SELinux 命令找不到

kumu_linux發表於2012-05-31


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


==============================OVER==========================


相關文章