Semanage Command not Found in CentOS 7

Semanage Command not Found in CentOS 7 / RHEL 7


When I change the ssh port. I have a problem that is semanage command not found. Here's how to overcome it

1. Enter the following package that will provide this command.
[root@dev ~]#  yum provides /usr/sbin/semanage
Or
[root@dev ~]#  yum whatprovides /usr/sbin/semanage
2. Install the policycoreutils-phyton by typing the following command
[root@dev ~]#  yum install policycoreutils-python
3. Now you can use the semanage command

Post a Comment

Previous Post Next Post