Article 5PVYR httpd -v Permission denied with selinux

httpd -v Permission denied with selinux

by
jeffrosquad
from LinuxQuestions.org on (#5PVYR)
I can setenforce 0 and run httpd -v but I have to have setenforce 1 on my systems.
When selinux is on and I run httpd -v I get -bash: /sbin/httpd: Permission denied

[root@name sbin]# ls -laZ /sbin/httpd
-rwxr-xr-x. root root system_u:object_r:httpd_exec_t:s0 /sbin/httpd

Any clues how to make this work with selinux on?latest?d=yIl2AUoC8zA latest?i=8tvW1nb5J_c:ns-jr8coN1Y:F7zBnMy latest?i=8tvW1nb5J_c:ns-jr8coN1Y:V_sGLiP latest?d=qj6IDK7rITs latest?i=8tvW1nb5J_c:ns-jr8coN1Y:gIN9vFw8tvW1nb5J_c
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments