Search code examples
linuxunixcentoscentos5

semanage command is not found in Centos 5.4


I am using the Centos 5.4. I want to run this command without quotes to allow selinux ports for http traffic. "semanage port -m -t http_port_t -p tcp 7000" but error occur (semanage command is not found). semanage is also available in this directory /usr/sbin/semanage in my OS.I already install and update the policycoreutils-1.33.12-14.13.el5.x86_64.rpm package and already try the many solutions available on internet for this problem. How do I resolve this problem?


Solution

  • I resolve the issue when I try this command

    /usr/sbin/semanage port -m -t http_port_t -p tcp 7000