Created
March 21, 2014 20:02
-
-
Save kramarama/9695122 to your computer and use it in GitHub Desktop.
selinux centos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sestatus | |
sestatus -b | grep sendmail | |
setsebool httpd_can_sendmail=1 | |
setsebool httpd_can_network_connect=1 | |
ls -lZ /etc/httpd | |
ls -dZ /var/www/domain | |
chcon -Rv --type=httpd_sys_content_t /var/www/domain |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment