<?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>Kostas&#039; random thoughts &#187; SysAdmin</title>
	<atom:link href="http://www.atreides.org.uk/blog/tags/sysadmin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.atreides.org.uk/blog</link>
	<description>Μη μου τους κύκλους τάρατε</description>
	<lastBuildDate>Mon, 24 Dec 2007 17:36:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Creating selinux modules</title>
		<link>http://www.atreides.org.uk/blog/2007/03/15/creating-selinux-modules/</link>
		<comments>http://www.atreides.org.uk/blog/2007/03/15/creating-selinux-modules/#comments</comments>
		<pubDate>Thu, 15 Mar 2007 00:37:28 +0000</pubDate>
		<dc:creator>Kostas Georgiou</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[SysAdmin]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[selinux]]></category>

		<guid isPermaLink="false">http://www.atreides.org.uk/blog/2007/03/15/creating-selinux-modules/</guid>
		<description><![CDATA[Here is how to compile and install an selinux module since I&#8217;ll forget if I don&#8217;t save it somwehere (based on audit2allow  -M mysaslauthd -i /var/log/audit/audit.log output).
# cat mysaslauthd.te
module mysaslauthd 1.0.8;
require {
        class dir { search write add_name remove_name };
        [...]]]></description>
			<content:encoded><![CDATA[<p>Here is how to compile and install an selinux module since I&#8217;ll forget if I don&#8217;t save it somwehere (based on audit2allow  -M mysaslauthd -i /var/log/audit/audit.log output).</p>
<p># cat mysaslauthd.te<br />
module mysaslauthd 1.0.8;</p>
<p>require {<br />
        class dir { search write add_name remove_name };<br />
        class file { getattr lock read write create rename unlink };<br />
        type krb5_keytab_t;<br />
        type saslauthd_t;<br />
        type tmp_t;<br />
        role system_r;<br />
};</p>
<p>allow saslauthd_t krb5_keytab_t:file read;<br />
allow saslauthd_t krb5_keytab_t:file lock;<br />
allow saslauthd_t tmp_t:dir search;<br />
allow saslauthd_t tmp_t:file { getattr read write create rename unlink };<br />
allow saslauthd_t tmp_t:dir { search write add_name remove_name };</p>
<p># checkmodule -M -m -o mysaslauthd.mod mysaslauthd.te<br />
# semodule_package -o mysaslauthd.pp -m mysaslauthd.mod<br />
# semodule -i mysaslauthd.pp</p>
]]></content:encoded>
			<wfw:commentRss>http://www.atreides.org.uk/blog/2007/03/15/creating-selinux-modules/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
