I need to run semanage in one of my Linux box to check the settings of selinux to users. But it seems semanage was not installed
[root@centosprod1 sysconfig]# semanage login -l
-bash: semanage: command not found
I don't have any idea what package to install. libsemanage was installed already. Thank you to yum. Use provides option to yum to find the package for semanage.
[root@centosprod1 sysconfig]# yum provides */semanage
Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
libsemanage-devel-2.0.43-4.1.el6.x86_64 : Header files and libraries used to build policy manipulation tools
Repo : cdrom
Matched from:
Filename : /usr/include/semanage
policycoreutils-python-2.0.83-19.18.el6.x86_64 : SELinux policy core python utilities
Repo : cdrom
Matched from:
Filename : /usr/sbin/semanage
libsemanage-devel-2.0.43-4.1.el6.i686 : Header files and libraries used to build policy manipulation tools
Repo : cdrom
Matched from:
Filename : /usr/include/semanage
Based on the output of yum, you need to install policycoreutils-python.
No comments:
Post a Comment