Skip to content

Instantly share code, notes, and snippets.

@kramarama
Created March 21, 2014 20:02
Show Gist options
  • Save kramarama/9695122 to your computer and use it in GitHub Desktop.
Save kramarama/9695122 to your computer and use it in GitHub Desktop.
selinux centos
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