logo © 1996 Phil Waclawski
Felitaur Site
Offerings
About Me
Crafts
Services
ftp files
Help Files
What's New?
Home Page
Other Links
Anatomy &
Physiology
Arthropods
Biology
Computers
Ferrets
Fun Links
Internet
Linux
S.C.A.
Win 95/NT
Comments or
Suggestions
webmaster@ felitaur.com
   
SELinux General Issues
[Linux System Administration Homepage]
Overview
Goals:
  • Leave SElinux in Enforcing Mode
  • httpd (apache) works
  • httpd user directories (and include directories) work
  • PHP and MySQL work
Files/directories covered:
Commands:
  • ls -Z
  • ps -Z
  • yum install setroubleshoot
  • sealert -a /var/log/audit/audit.log | less
  • audit2allow -i /var/log/audit/audit.log
  • getsebool -a
  • setsebool -P httpd_read_user_content 1
  • restorecon -R -v /path/to/directory
  • chcon -R -t httpd_sys_content_t /path/to/directory
  • semanage fcontext -l | grep (for context)
  • semanage fcontext -a -t httpd_user_content_t '/home/username'
  • semanage fcontext -a -t httpd_user_content_t '/home/username/public_html/(/.*)?'
Questions
Activites
References
This page last updated on: