Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

I'm trying to disable SELinux for httpd, but when I use the the setsebool command with -P parameter, it doesn't work:

setsebool -P http_can_network_connect 1

Nothing happens when I do that ie, the command is apparently running, but returns nothing, and bash is freeze. I'll wait for 10~30 minutes, and nothing happens.


share|improve this question
How exactly doesn't it work? – Ricardo Altamirano Mar 6 '13 at 14:06
Nothing happens. Nothing is return, just freeze the bash (and doesn't write in SELinux. – Patrick Maciel Mar 6 '13 at 14:14

1 Answer 1

This link might help, with good references for further reading. What you want to do isn't possible directly, but there are workarounds.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.