<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Beyond Abstraction &#187; SELinux FAQ</title>
	<atom:link href="http://beyondabstraction.net/category/computers/security/selinux/selinux-faq/feed/" rel="self" type="application/rss+xml" />
	<link>http://beyondabstraction.net</link>
	<description>Meanderings and Such...</description>
	<lastBuildDate>Wed, 28 Mar 2012 18:39:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>SELinux FAQ #1</title>
		<link>http://beyondabstraction.net/2007/06/06/selinux-faq-1/</link>
		<comments>http://beyondabstraction.net/2007/06/06/selinux-faq-1/#comments</comments>
		<pubDate>Wed, 06 Jun 2007 06:22:39 +0000</pubDate>
		<dc:creator>spencer</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SELinux]]></category>
		<category><![CDATA[SELinux FAQ]]></category>

		<guid isPermaLink="false">http://beyondabstraction.net/2007/06/06/selinux-faq-1/</guid>
		<description><![CDATA[I reckon about three people a day enter the #selinux channel on freenode, ask a question, and than leave a few minutes later without giving anyone a chance to respond. Since no question askers read the topics or have the time to idle I figured I&#8217;d start posting their questions here. There is a good &#8230; </p><p><a class="more-link block-button" href="http://beyondabstraction.net/2007/06/06/selinux-faq-1/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>I reckon about three people a day enter the #selinux channel on freenode, ask a question, and than leave a few minutes later without giving anyone a chance to respond.  Since no question askers read the topics or have the time to idle I figured I&#8217;d start posting their questions here.  There is a good chance I won&#8217;t be able to answer them without more detail, but hell, its gotta be better than nothing (maybe).  This quote is from the IRC channel so forgive the formatting.</p>
<blockquote><p><code>how can i give a user read access to the /etc/mail (etc_mail_t) sendmail.cf?<br />
                         when i try to connect to sendmail: NOQUEUE: SYSERR(rattler):<br />
                         /etc/mail/sendmail.cf: line 0: cannot open: Permission denied<br />
</code></p></blockquote>
<p>On a targeted system a &#8220;user&#8221;, as in the traditional Unix sense, is not confined in any manner.  On a default FC6 install I can read /etc/mail/sendmail.cf with no denials in enforcing mode with any user logged in at the local console or via SSH.</p>
<p>So given the fact that any user can read the file I can only assume you mean the daemon itself.  Well, once again on a default system, the sendmail daemon can read the file you specified.  On my system the file has the type:<br />
<code><br />
[spencer@sshimko-fc6 ~]$ ls -Z /etc/mail/sendmail.cf<br />
-rw-r--r--  root root system_u:object_r:etc_mail_t:s0  /etc/mail/sendmail.cf<br />
</code></p>
<p>Make sure your file is labeled similarly.  If not, run &#8220;restorecon /etc/mail/sendmail.cf&#8221; and restart the mail service.  If this still doesn&#8217;t work could you please give more details?</p>
]]></content:encoded>
			<wfw:commentRss>http://beyondabstraction.net/2007/06/06/selinux-faq-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

