{"id":62,"date":"2008-08-05T12:59:15","date_gmt":"2008-08-05T18:59:15","guid":{"rendered":"http:\/\/www.imed.ws\/blog\/2008\/08\/05\/selinux-and-httpd-svftps-under-centos\/"},"modified":"2008-08-05T12:59:15","modified_gmt":"2008-08-05T18:59:15","slug":"selinux-and-httpd-svftps-under-centos","status":"publish","type":"post","link":"https:\/\/www.imed.ws\/blog\/2008\/08\/05\/selinux-and-httpd-svftps-under-centos\/","title":{"rendered":"selinux and HTTPD &#038; svftps  under CentOS"},"content":{"rendered":"<p>to make httpd work and avoid the selinux headaches :<\/p>\n<p><code>setsebool httpd_disable_trans 1<br \/>\nsetsebool httpd_can_network_connect_db=1<br \/>\nservice httpd restart<\/code><\/p>\n<p>For the FTP server ( vsftpd )<\/p>\n<p><code>setsebool -P ftpd_disable_trans 1<br \/>\nservice vsftpd restart<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>to make httpd work and avoid the selinux headaches : setsebool httpd_disable_trans 1 setsebool httpd_can_network_connect_db=1 service httpd restart For the FTP server ( vsftpd ) setsebool -P ftpd_disable_trans 1 service vsftpd restart<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/www.imed.ws\/blog\/wp-json\/wp\/v2\/posts\/62"}],"collection":[{"href":"https:\/\/www.imed.ws\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.imed.ws\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.imed.ws\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.imed.ws\/blog\/wp-json\/wp\/v2\/comments?post=62"}],"version-history":[{"count":0,"href":"https:\/\/www.imed.ws\/blog\/wp-json\/wp\/v2\/posts\/62\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.imed.ws\/blog\/wp-json\/wp\/v2\/media?parent=62"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.imed.ws\/blog\/wp-json\/wp\/v2\/categories?post=62"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.imed.ws\/blog\/wp-json\/wp\/v2\/tags?post=62"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}