<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.nocrash.net/index.php?action=history&amp;feed=atom&amp;title=SELinux_Administration</id>
	<title>SELinux Administration - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.nocrash.net/index.php?action=history&amp;feed=atom&amp;title=SELinux_Administration"/>
	<link rel="alternate" type="text/html" href="https://wiki.nocrash.net/index.php?title=SELinux_Administration&amp;action=history"/>
	<updated>2026-06-05T05:47:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.nocrash.net/index.php?title=SELinux_Administration&amp;diff=43&amp;oldid=prev</id>
		<title>Chris: Created page with &quot;First off, start the setroubleshoot daemon with this command   # /etc/rc.d/init.d/setroubleshoot start  If it is not there, then install it...   # yum -y install setroubleshoot  ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.nocrash.net/index.php?title=SELinux_Administration&amp;diff=43&amp;oldid=prev"/>
		<updated>2010-08-05T13:48:24Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;First off, start the setroubleshoot daemon with this command   # /etc/rc.d/init.d/setroubleshoot start  If it is not there, then install it...   # yum -y install setroubleshoot  ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;First off, start the setroubleshoot daemon with this command&lt;br /&gt;
&lt;br /&gt;
 # /etc/rc.d/init.d/setroubleshoot start&lt;br /&gt;
&lt;br /&gt;
If it is not there, then install it...&lt;br /&gt;
&lt;br /&gt;
 # yum -y install setroubleshoot&lt;br /&gt;
&lt;br /&gt;
Now tail your messages log...&lt;br /&gt;
&lt;br /&gt;
 # tail -f /var/log/messages&lt;br /&gt;
&lt;br /&gt;
Look for any entries like this:&lt;br /&gt;
SELinux is preventing the http daemon from reading users home directories.      For complete SELinux messages. run sealert -l ac083817-96fe-4220-bb01-a73e7bfca5f7&lt;br /&gt;
&lt;br /&gt;
Do what it says... run&lt;br /&gt;
&lt;br /&gt;
 # sealert -l ac083817-96fe-4220-bb01-a73e7bfca5f7&lt;br /&gt;
&lt;br /&gt;
That will give you a basic understanding of what is going on, and how to fix it...&lt;br /&gt;
&lt;br /&gt;
 # setsebool -P httpd_enable_homedirs=1&lt;br /&gt;
&lt;br /&gt;
You may need to also reclassify those files as http files.. with this command.&lt;br /&gt;
&lt;br /&gt;
 # chcon -R -t httpd_sys_content_t ~user/public_html&lt;br /&gt;
&lt;br /&gt;
 # man httpd_selinux      ( will give you more info on this.) &lt;br /&gt;
&lt;br /&gt;
If you need to make a file readable and writeable by apache.&lt;br /&gt;
&lt;br /&gt;
 # chcon -t httpd_sys_script_rw_t /path/to/file&lt;br /&gt;
&lt;br /&gt;
Enjoy!&lt;/div&gt;</summary>
		<author><name>Chris</name></author>
	</entry>
</feed>