<?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>wigblog &#187; Linux</title>
	<atom:link href="http://thinkmuch.com/blog/archives/category/Linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://thinkmuch.com/blog</link>
	<description>ramblings of a philomathic polymath</description>
	<lastBuildDate>Wed, 04 Feb 2009 00:40:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>RPM &amp; APT: Let&#8217;s get it right folks&#8230;</title>
		<link>http://thinkmuch.com/blog/archives/2005/05/05/rpm-apt-lets-get-it-right-folks/</link>
		<comments>http://thinkmuch.com/blog/archives/2005/05/05/rpm-apt-lets-get-it-right-folks/#comments</comments>
		<pubDate>Fri, 06 May 2005 06:36:54 +0000</pubDate>
		<dc:creator>jwigdahl</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://thinkmuch.com/blog/archives/2005/05/05/rpm-apt-lets-get-it-right-folks/</guid>
		<description><![CDATA[I'm sick and tired of all these articles commentaries I read where Debian users argue that apt-get is soo much better than RPM because of dependency resolution blah blah blah....  Let's all say it together now:deb is to RPM...as yum is to apt-get...RPM is NOT a package management system.]]></description>
			<content:encoded><![CDATA[<p>I'm sick and tired of all these articles commentaries I read where Debian users argue that apt-get is soo much better than RPM because of dependency resolution blah blah blah. Stop comparing apples and oranges!!! Let's all say it together now:</p>
<blockquote><p><strong>deb</strong> is to <strong>RPM</strong>...<br />
as <strong>apt-get</strong> is to <strong>yum</strong></p></blockquote>
<p>RPM is <strong>NOT</strong> a package management system. Is is a package <strong><em>format</em></strong>! Yum/up2date is a package management system...</p>
]]></content:encoded>
			<wfw:commentRss>http://thinkmuch.com/blog/archives/2005/05/05/rpm-apt-lets-get-it-right-folks/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Study Finds Windows More Secure Than Linux</title>
		<link>http://thinkmuch.com/blog/archives/2005/02/17/study-finds-windows-more-secure-than-linux/</link>
		<comments>http://thinkmuch.com/blog/archives/2005/02/17/study-finds-windows-more-secure-than-linux/#comments</comments>
		<pubDate>Thu, 17 Feb 2005 18:42:40 +0000</pubDate>
		<dc:creator>jwigdahl</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://thinkmuch.com/blog/archives/2005/02/17/study-finds-windows-more-secure-than-linux/</guid>
		<description><![CDATA[I'm sure I'll be hearing from some people on this Slashdot story:
Study Finds Windows More Secure Than Linux:
cfelde writes "A Windows Web server is more secure than a similarly set-up Linux server, according to a study presented yesterday by two Florida researchers." In addition to the Seattle Times article, there is also coverage on VNUnet. [...]]]></description>
			<content:encoded><![CDATA[<p>I'm sure I'll be hearing from some people on this <a href="http://slashdot.org/">Slashdot</a> story:</p>
<blockquote><p><a href="http://linux.slashdot.org/article.pl?sid=05/02/17/1616232&#038;from=rss" id="05/02/17/1616232&#038;from=rss">Study Finds Windows More Secure Than Linux</a>:<br />
cfelde writes "A Windows Web server is more secure than a similarly set-up Linux server, according to a study presented yesterday by two Florida researchers." In addition to the Seattle Times article, there is also coverage on VNUnet. From the article: "The researchers, appearing at the RSA Conference of computer-security professionals, discussed the findings in an event, 'Security Showdown: Windows vs. Linux.' One of them, a Linux fan, runs an open-source server at home; the other is a Microsoft enthusiast. They wanted to cut through the near-religious arguments about which system is better from a security standpoint."</p></blockquote>
<p>Now the pullquote they didn't show you was this:</p>
<blockquote><p>Ford said the idea was to represent what an average system administrator may do, as opposed to a "wizard" who could take extra steps to provide plenty of security on a Linux setup, for instance.</p></blockquote>
<p>In my book, the "average" system administrator should definitely be taking any extra steps to ensure security on a box. If they don't, they shouldn't be administering systems.</p>
]]></content:encoded>
			<wfw:commentRss>http://thinkmuch.com/blog/archives/2005/02/17/study-finds-windows-more-secure-than-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Linux set for ERP ascendency</title>
		<link>http://thinkmuch.com/blog/archives/2004/12/09/linux-set-for-erp-ascendency/</link>
		<comments>http://thinkmuch.com/blog/archives/2004/12/09/linux-set-for-erp-ascendency/#comments</comments>
		<pubDate>Fri, 10 Dec 2004 02:14:47 +0000</pubDate>
		<dc:creator>jwigdahl</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://thinkmuch.com/blog/archives/2004/12/09/linux-set-for-erp-ascendency/</guid>
		<description><![CDATA[Man I can't wait for this: Linux set for ERP ascendency &#124; The Register
One in five Unix houses expect to change operating system in the next three years. Four out of five of these expect to move to Linux.
Peerstone found two main barriers to widespread adoption of Linux: concerns of a higher total cost of [...]]]></description>
			<content:encoded><![CDATA[<p>Man I can't wait for this: <a href="http://www.theregister.co.uk/2004/11/19/linux_erp_survey/">Linux set for ERP ascendency | The Register</a></p>
<blockquote><p><em>One in five Unix houses expect to change operating system in the next three years. Four out of five of these expect to move to Linux.</p>
<p>Peerstone found two main barriers to widespread adoption of Linux: concerns of a higher total cost of ownership because of the high cost of Linux administrators; and fears raised by SCO's attempted "legal assault on Linux intellectual property".</em></p></blockquote>
<p>Two points:</p>
<ul>
<li>High cost of Linux administrators: Don't these companies realize that their current Solaris expertise <em>IS</em> Linux expertise? There are of course little differences, but come on.... it's not like it's VMS or anything!</li>
<li>We all know SCO is finished now, right?</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://thinkmuch.com/blog/archives/2004/12/09/linux-set-for-erp-ascendency/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache (httpd) 403 errors &amp; SELinux in FC3</title>
		<link>http://thinkmuch.com/blog/archives/2004/11/17/apache-httpd-403-errors-selinux-in-fc3/</link>
		<comments>http://thinkmuch.com/blog/archives/2004/11/17/apache-httpd-403-errors-selinux-in-fc3/#comments</comments>
		<pubDate>Wed, 17 Nov 2004 18:38:54 +0000</pubDate>
		<dc:creator>jwigdahl</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://thinkmuch.com/blog/archives/2004/11/17/apache-httpd-403-errors-selinux-in-fc3/</guid>
		<description><![CDATA[Fixing "perms" for apps affected by having SELinux enabled.]]></description>
			<content:encoded><![CDATA[<p><strong>Quick fix:</strong></p>
<p><code>chcon -R -t httpd_sys_content_t &lt;path to web files&gt;</code></p>
<p><strong>Now for the meat:</strong></p>
<p>So in Fedora Core 3 we now have SELinux enabled by default in the installation. I decided to leave it enabled because security is a "Good Thing" (right?) and I knew I was going to have to get familiar with it at some point. So this was all fine and good until I ran into the first piece of the system I wanted to work with that was affected by the default policy that's called "targeted".<br />
<span id="more-33"></span><br />
The "targeted" policy confines certain network daemons to run in their own specific "security domain". These daemons include dhcpd, httpd (apache), named, nscd, ntpd, portmap, snmpd, squid, and syslogd.</p>
<p>When I setup apache on a system where it wil be utilized, I have a habit of not using /var/www/html as my starting point for document roots, but rather create a dir at /home/websites and place my document roots in there. In the good ol' days of Discretionary Access Controls (DAC) just making sure that apache had the perms it needed to read the documents in there was enough (using chmod, chown, and the like).</p>
<p>Not so with SELinux enabled. In addition to the regular DAC we're all used to, we now have Mandatory Access Controls (MAC) that define security contexts for files/directories etc. Turns out it looks like by default, apache only has access to /var/www/html when it's fired up.... I'm guessing that and probably /var/log/httpd (which is exactly as it should be). To enable apache to view my files in /home/websites, I had to apply a new security context to these files. The answer to this is the <span style="font-family:monospace;font-size:13pt;">chcon</span> command. To be brief, the full command I executed was:</p>
<p><span style="font-family:monospace;font-size:13pt;">chcon -R -t httpd_sys_content_t /home/websites</span></p>
<p>After executing this, apache could read my files.</p>
<p>Important links I found in troubleshooting:</p>
<p><a href="http://fedora.redhat.com/docs/selinux-apache-fc3/">http://fedora.redhat.com/docs/selinux-apache-fc3</a><br />
<a href="http://fedora.redhat.com/docs/selinux-faq-fc3/">http://fedora.redhat.com/docs/selinux-faq-fc3/</a></p>
<p><a href="http://lwn.net/Articles/105409/">http://lwn.net/Articles/105409/</a></p>
<p>I like where this SELinux thing is going. Permissions done right, for sure. This doesn't come with out growing pains though. It's complex (or so it seems to me after only working with it for a couple days) and will take some time to learn. I'm prepared for some frustration....</p>
<p>Now many of you are probably asking yourself why would anyone (let alone me) want to bother with this? Well I think a simple example of one of the cool things is that even though something like /etc/passwd has DAC octal perms of 644 (rw-r--r--), apache still can't read it because that file is not with in apache's security context. So any users on your system can't write a little script that reads your /etc/passwd file and basically posts it on a web page for the world to see (giving potential crackers a list of valid user accounts on the system).</p>
<p>UPDATE: Thanks for the updated link Bob.</p>
]]></content:encoded>
			<wfw:commentRss>http://thinkmuch.com/blog/archives/2004/11/17/apache-httpd-403-errors-selinux-in-fc3/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.253 seconds -->
