Comments on: How to Enable or Disable SELinux Booleans for Apache https://www.tecmint.com/enable-disable-apache-boolean-values/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Tue, 30 Apr 2024 04:51:38 +0000 hourly 1 By: Shaheena https://www.tecmint.com/enable-disable-apache-boolean-values/comment-page-1/#comment-1292930 Wed, 20 Nov 2019 07:43:15 +0000 https://www.tecmint.com/?p=27578#comment-1292930 Hi, I cannot connect via ssh to my machine after enabling SELinux to enforce mode.

I have tried the touch /.autorelabel but no luck.

In getsebool – all the booleans are on…

Please help me here.

]]>
By: Manoj https://www.tecmint.com/enable-disable-apache-boolean-values/comment-page-1/#comment-1100765 Wed, 13 Feb 2019 06:13:20 +0000 https://www.tecmint.com/?p=27578#comment-1100765 In reply to Zubair.

Thanks a lot. Now im out of the issue.

]]>
By: Zubair https://www.tecmint.com/enable-disable-apache-boolean-values/comment-page-1/#comment-1100665 Tue, 12 Feb 2019 21:20:56 +0000 https://www.tecmint.com/?p=27578#comment-1100665 In reply to Manoj.

use "-P" switch for persistent/permanent change. like, setsebool -P httpd_can_network_connect on.

]]>
By: Manoj https://www.tecmint.com/enable-disable-apache-boolean-values/comment-page-1/#comment-1096805 Mon, 21 Jan 2019 12:54:22 +0000 https://www.tecmint.com/?p=27578#comment-1096805 Hi,

I set setsebool httpd_can_network_connect on and httpd_can_network_connect_db on. But after reboot, the setting rolls back to off.

is there an argument to permanently set setsebool.

]]>
By: Ravi Saive https://www.tecmint.com/enable-disable-apache-boolean-values/comment-page-1/#comment-1090524 Fri, 04 Jan 2019 10:43:30 +0000 https://www.tecmint.com/?p=27578#comment-1090524 In reply to JK.

@JK,

If you set correct SELinux boolean value on HTTPD, then no issues at all..

]]>