Semanage Command not Found in CentOS 7
- By Preneesh AV --
- 15-Nov-2019 --
- 177 Comments
Semanage Command not Found in CentOS 7
Changing 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