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==========================
本文介绍了解决RHEL6系统中semanage命令未被发现的问题步骤。通过使用yum命令查找对应软件包并进行安装,最终解决了SELinux相关命令缺失的问题。
5440

被折叠的 条评论
为什么被折叠?



