您的位置:首页 > 运维架构 > Linux

RHEL 6: semanage SELinux 命令找不到

2012-05-31 17:17 309 查看

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==========================
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: