<?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>A Sceptical Mind &#187; linux</title>
	<atom:link href="http://www.scepticalmind.com/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scepticalmind.com</link>
	<description>The ramblings of a Danish sceptic liberal</description>
	<lastBuildDate>Sat, 24 Apr 2010 16:24:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Removing X-Powered-By header for mod_rails</title>
		<link>http://www.scepticalmind.com/2008/10/30/removing-x-powered-by-mod-rails/</link>
		<comments>http://www.scepticalmind.com/2008/10/30/removing-x-powered-by-mod-rails/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 15:44:32 +0000</pubDate>
		<dc:creator>Michael Lind Mortensen</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.scepticalmind.com/?p=91</guid>
		<description><![CDATA[I recently had a bit of a problem with a server running a Ruby on Rails application. I wanted to make sure the server didn&#8217;t give out any information about service versions, however mod_rails didn&#8217;t give any easy way of doing this within the module itself. I therefore began searching for another way of doing [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had a bit of a problem with a server running a Ruby on Rails application. I wanted to make sure the server didn&#8217;t give out any information about service versions, however mod_rails didn&#8217;t give any easy way of doing this within the module itself. I therefore began searching for another way of doing this, and found that an easy solution was to make Apache remove the headers via. the mod_headers module.</p>
<p>So how is it done? Very simple, just enable the module mod_headers and add the snippet below to httpd.conf or another included configuration file in Apache. Both actions have to be done as root of course.</p>
<p>Enable the mod_headers module <em>(This example is Linux Debian &#8211; it might be different for your system)</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># cd /etc/apache2/mods-available/</span>
<span style="color: #666666; font-style: italic;"># a2enmod headers</span></pre></div></div>

<p>Add these lines to httpd.conf</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Header always <span style="color: #7a0874; font-weight: bold;">unset</span> <span style="color: #ff0000;">&quot;X-Powered-By&quot;</span>
Header always <span style="color: #7a0874; font-weight: bold;">unset</span> <span style="color: #ff0000;">&quot;X-Runtime&quot;</span></pre></div></div>

<p>Restart the Apache server <em>(Again &#8211; this is Debian! It might be different for you)</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># apache2ctl restart</span></pre></div></div>

<p>And there you go. Try making e.g. a Nikto scan on the server and see if the headers aren&#8217;t there anymore.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.scepticalmind.com/2008/10/30/removing-x-powered-by-mod-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple backup script with notification</title>
		<link>http://www.scepticalmind.com/2008/09/28/simple-backup-script-with-notification/</link>
		<comments>http://www.scepticalmind.com/2008/09/28/simple-backup-script-with-notification/#comments</comments>
		<pubDate>Sun, 28 Sep 2008 01:07:58 +0000</pubDate>
		<dc:creator>Michael Lind Mortensen</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.scepticalmind.com/?p=80</guid>
		<description><![CDATA[So I recently had to come up with a simple backup solution that didn&#8217;t involve any fancy system and basically just gave one the opportunity to choose what directories to backup, where to back them up and notify if something goes wrong. So I came up with a solution which, in my own view, could [...]]]></description>
			<content:encoded><![CDATA[<p>So I recently had to come up with a simple backup solution that didn&#8217;t involve any fancy system and basically just gave one the opportunity to choose what directories to backup, where to back them up and notify if something goes wrong.</p>
<p>So I came up with a solution which, in my own view, could be better and more &#8220;clean&#8221;, however this is how it is right now. You&#8217;re welcome to take the script, change and redistribute it &#8211; it&#8217;s released under the BSD license.</p>
<p>You might notice it&#8217;s refering to a bunch of files &#8211; these files are the error messages sent in e-mails and need to be placed somewhere, with corresponding changes in the script. If they don&#8217;t, e-mail notification won&#8217;t work.</p>
<p>Right now it&#8217;s sending e-mails when it&#8217;s succesful in making a backup. Depending on how often you want your cron job to do a backup, it might be irritating to get that many e-mails, so all you need to do is basically just remove the last part so that it only notifies you if something goes wrong.. That will however create the possibility that the e-mail functionality of the server will stop working and you won&#8217;t notice.</p>
<p>But yeah.. Here&#8217;s the script + all the error-messages zipped for download: <a href="http://www.scepticalmind.com/wp-content/uploads/2008/09/backup_script.zip">backup_script</a></p>
<p>I&#8217;ll be the first to admit it&#8217;s not optimal in any way.. it&#8217;s a quick solution and has a bunch of DRY (Don&#8217;t Repeat Yourself) violations&#8230; but hey.. it works and given it&#8217;s low complexity I don&#8217;t wanna prioritize cleaning it up that much &#8211; but you are more than welcome to do so!</p>
<p>Here&#8217;s the code copied into the post:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
<span style="color: #666666; font-style: italic;"># Copyright (c) 2008, Michael Lind Mortensen</span>
<span style="color: #666666; font-style: italic;"># All rights reserved.</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># Redistribution and use in source and binary forms, with or without</span>
<span style="color: #666666; font-style: italic;"># modification, are permitted provided that the following conditions are met:</span>
<span style="color: #666666; font-style: italic;">#     * Redistributions of source code must retain the above copyright</span>
<span style="color: #666666; font-style: italic;">#       notice, this list of conditions and the following disclaimer.</span>
<span style="color: #666666; font-style: italic;">#     * Redistributions in binary form must reproduce the above copyright</span>
<span style="color: #666666; font-style: italic;">#       notice, this list of conditions and the following disclaimer in the</span>
<span style="color: #666666; font-style: italic;">#       documentation and/or other materials provided with the distribution.</span>
<span style="color: #666666; font-style: italic;">#     * Neither the name of Michael Lind Mortensen nor the</span>
<span style="color: #666666; font-style: italic;">#       names of his contributors may be used to endorse or promote products</span>
<span style="color: #666666; font-style: italic;">#       derived from this software without specific prior written permission.</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># THIS SOFTWARE IS PROVIDED BY MICHAEL LIND MORTENSEN ''AS IS'' AND ANY</span>
<span style="color: #666666; font-style: italic;"># EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED</span>
<span style="color: #666666; font-style: italic;"># WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE</span>
<span style="color: #666666; font-style: italic;"># DISCLAIMED. IN NO EVENT SHALL MICHAEL LIND MORTENSEN BE LIABLE FOR ANY</span>
<span style="color: #666666; font-style: italic;"># DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES</span>
<span style="color: #666666; font-style: italic;"># (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;</span>
<span style="color: #666666; font-style: italic;"># LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND</span>
<span style="color: #666666; font-style: italic;"># ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT</span>
<span style="color: #666666; font-style: italic;"># (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS</span>
<span style="color: #666666; font-style: italic;"># SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Define settings</span>
<span style="color: #007800;">DATA</span>=<span style="color: #ff0000;">&quot;/home/user1 /home/user2 /etc /var/www/virtual /var/log&quot;</span> <span style="color: #666666; font-style: italic;">#Location of backup files.</span>
<span style="color: #007800;">DISC</span>=<span style="color: #ff0000;">&quot;/mnt/backup&quot;</span> <span style="color: #666666; font-style: italic;"># Mount location of backup disc</span>
<span style="color: #007800;">DEVICE</span>=<span style="color: #ff0000;">&quot;/dev/sdb1&quot;</span> <span style="color: #666666; font-style: italic;"># Backup devicename</span>
<span style="color: #007800;">MAILREC</span>=<span style="color: #ff0000;">&quot;info@example.com&quot;</span> <span style="color: #666666; font-style: italic;"># Define message recipients. Comma-separate for more recipients.</span>
<span style="color: #007800;">SENDER</span>=<span style="color: #ff0000;">&quot;noreply@example.com&quot;</span> <span style="color: #666666; font-style: italic;"># Define sender e-mail for error-messaging.</span>
<span style="color: #007800;">LOG</span>=<span style="color: #ff0000;">&quot;logfile.txt&quot;</span> <span style="color: #666666; font-style: italic;"># Location of the error logfile</span>
<span style="color: #007800;">DBPASS</span>=<span style="color: #ff0000;">&quot;databasepassword&quot;</span> <span style="color: #666666; font-style: italic;"># The root password to the mysql server</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">set</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">date</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#####################################################</span>
<span style="color: #666666; font-style: italic;">#  Define email functionality for error messaging   #</span>
<span style="color: #666666; font-style: italic;">#                                                   #</span>
<span style="color: #666666; font-style: italic;"># Parameters: MESSAGE - E-mail content from file    #</span>
<span style="color: #666666; font-style: italic;">#                                                   #</span>
<span style="color: #666666; font-style: italic;">#####################################################</span>
<span style="color: #000000; font-weight: bold;">function</span> error_mailer <span style="color: #7a0874; font-weight: bold;">&#123;</span>
        <span style="color: #007800;">MESSAGE</span>=$<span style="color: #000000;">1</span>
        <span style="color: #007800;">SUBJECT</span>=<span style="color: #ff0000;">&quot;Backup process encountered errors!&quot;</span>
        <span style="color: #666666; font-style: italic;"># Send the email using mail</span>
    <span style="color: #000000; font-weight: bold;">if</span> mail <span style="color: #660033;">-s</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$SUBJECT</span>&quot;</span> <span style="color: #660033;">-r</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$SENDER</span>&quot;</span>  <span style="color: #ff0000;">&quot;<span style="color: #007800;">$MAILREC</span>&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>lt; <span style="color: #007800;">$MESSAGE</span>
    <span style="color: #000000; font-weight: bold;">then</span>
        :
    <span style="color: #000000; font-weight: bold;">else</span>
        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;$3-$2-$6-$4 - ERROR: Mail functionality not working!&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #007800;">$LOG</span>
    <span style="color: #000000; font-weight: bold;">fi</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#####################################################</span>
<span style="color: #666666; font-style: italic;">#  Define email functionality for success messaging #</span>
<span style="color: #666666; font-style: italic;">#                                                   #</span>
<span style="color: #666666; font-style: italic;"># Parameters: MESSAGE - E-mail content from file    #</span>
<span style="color: #666666; font-style: italic;">#                                                   #</span>
<span style="color: #666666; font-style: italic;">#####################################################</span>
<span style="color: #000000; font-weight: bold;">function</span> success_mailer <span style="color: #7a0874; font-weight: bold;">&#123;</span>
        <span style="color: #007800;">MESSAGE</span>=$<span style="color: #000000;">1</span>
        <span style="color: #007800;">SUBJECT</span>=<span style="color: #ff0000;">&quot;Backup created succesfully!&quot;</span>
        <span style="color: #666666; font-style: italic;"># Send the email using mail</span>
        <span style="color: #000000; font-weight: bold;">if</span> mail <span style="color: #660033;">-s</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$SUBJECT</span>&quot;</span> <span style="color: #660033;">-r</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$SENDER</span>&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$MAILREC</span>&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>lt; <span style="color: #007800;">$MESSAGE</span>
        <span style="color: #000000; font-weight: bold;">then</span>
                :
        <span style="color: #000000; font-weight: bold;">else</span>
                <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;$3-$2-$6-$4 - ERROR: Mail functionality not working!&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #007800;">$LOG</span>
        <span style="color: #000000; font-weight: bold;">fi</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span> 
&nbsp;
<span style="color: #666666; font-style: italic;"># Mount backup disc</span>
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #007800;">$DEVICE</span> <span style="color: #007800;">$DISC</span>
<span style="color: #000000; font-weight: bold;">then</span>
        :
<span style="color: #000000; font-weight: bold;">else</span>
        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;$3-$2-$6-$4 - ERROR: error while mounting disc!&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #007800;">$LOG</span>
    error_mailer <span style="color: #ff0000;">&quot;/etc/backup_inc/errors/mount_error.txt&quot;</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Perform daily full backup</span>
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #c20cb9; font-weight: bold;">tar</span> cfz <span style="color: #ff0000;">&quot;<span style="color: #007800;">$DISC</span>/data/data_$3-$2-$6.tgz&quot;</span> <span style="color: #007800;">$DATA</span>
<span style="color: #000000; font-weight: bold;">then</span>
        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Data saved successfully!&quot;</span>
<span style="color: #000000; font-weight: bold;">else</span>
        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;$3-$2-$6-$4 - ERROR: error while saving data!&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #007800;">$LOG</span>
    error_mailer <span style="color: #ff0000;">&quot;/etc/backup_inc/errors/data_error.txt&quot;</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Create SQL dumps of databases</span>
<span style="color: #000000; font-weight: bold;">if</span> mysqldump <span style="color: #660033;">-u</span> root <span style="color: #660033;">--password</span>=<span style="color: #007800;">$DBPASS</span> <span style="color: #660033;">--all-databases</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #ff0000;">&quot;<span style="color: #007800;">$DISC</span>/database/db_$3-$2-$6.sql&quot;</span>
<span style="color: #000000; font-weight: bold;">then</span>
        :
<span style="color: #000000; font-weight: bold;">else</span>
        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;$3-$2-$6-$4 - ERROR: error while making mysqldump!&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #007800;">$LOG</span>
    error_mailer <span style="color: #ff0000;">&quot;/etc/backup_inc/errors/mysqldump_error.txt&quot;</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #c20cb9; font-weight: bold;">gzip</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$DISC</span>/database/db_$3-$2-$6.sql&quot;</span>
<span style="color: #000000; font-weight: bold;">then</span>
        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;MySQL databases saved and compressed succesfully!&quot;</span>
<span style="color: #000000; font-weight: bold;">else</span>
        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;$3-$2-$6-$4 - ERROR: error while saving mysql databases!&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #007800;">$LOG</span>
    error_mailer <span style="color: #ff0000;">&quot;/etc/backup_inc/errors/db_error.txt&quot;</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Unmount backup disc</span>
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #c20cb9; font-weight: bold;">umount</span> <span style="color: #007800;">$DISC</span>
<span style="color: #000000; font-weight: bold;">then</span>
        success_mailer <span style="color: #ff0000;">&quot;/etc/backup_inc/success.txt&quot;</span>
<span style="color: #000000; font-weight: bold;">else</span>
        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;$3-$2-$6-$4 - ERROR: error while unmounting disc!&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #007800;">$LOG</span>
        error_mailer <span style="color: #ff0000;">&quot;/etc/backup_inc/error/umount_error.txt&quot;</span>
<span style="color: #000000; font-weight: bold;">fi</span></pre></div></div>

<p>The fast person will probably notice that WordPress writes &lt; and &gt; as &amp;lt; and &amp;gt; .. that&#8217;s just the code plugin messing things up and I hope you can figure out how to fix that yourselves.. if not, the zipfile has the code without any odd layout errors.</p>
<p>All in all the code should be fairly self-explanatory.. if not, there are plenty of comments to help you use the script or change it to whatever you need.</p>
<p>Last but not least &#8211; Remember to add a cron job with the script.. If you don&#8217;t there won&#8217;t be much automatic backup about it.</p>
<p>That&#8217;s just about it.. Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.scepticalmind.com/2008/09/28/simple-backup-script-with-notification/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Energy saving hype</title>
		<link>http://www.scepticalmind.com/2008/09/11/energy-saving-hype/</link>
		<comments>http://www.scepticalmind.com/2008/09/11/energy-saving-hype/#comments</comments>
		<pubDate>Thu, 11 Sep 2008 08:17:27 +0000</pubDate>
		<dc:creator>Michael Lind Mortensen</dc:creator>
				<category><![CDATA[Debunking]]></category>
		<category><![CDATA[global warming]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.scepticalmind.com/?p=73</guid>
		<description><![CDATA[I saw a new TV-add from &#8220;Elsparefonden&#8221; this morning. As many before it, it tried to get people to think about how much power they consumed and thereby consume less to save the environment. Before I go on, you can watch the add here from YouTube: So what&#8217;s my problem with this? Well, basically it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>I saw a new TV-add from &#8220;Elsparefonden&#8221; this morning. As many before it, it tried to get people to think about how much power they consumed and thereby consume less to save the environment. Before I go on, you can watch the add here from YouTube:<br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="src" value="http://www.youtube.com/v/48BQ_fWpNiY&amp;hl=en&amp;fs=1" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/48BQ_fWpNiY&amp;hl=en&amp;fs=1" allowfullscreen="true"></embed></object></p>
<p>So what&#8217;s my problem with this? Well, basically it&#8217;s just plain bullshit! Sure, power consumption will fire up energy production demands and thereby harm the environment because the energy production harms the environment. However the only reason why energy production harms the environment is because of low-quality materials like coal! Why the hell try to get people to go back in technological development by using less power, instead of just making our energy production more effective and clean (which would probably also be cheaper than all does damn adds all the time).</p>
<p>But apparently the global warming hype has become almost a religion, with fanatics fighting to jump back in time on a lot of fronts like electronics, food, industrial production etc. For some reason they believe the world population was better off with the status we had 50 years ago! Like for example a Linux guy I heard at FOSDEM 08, whom claimed that the German government should not use Windows Vista and instead use Linux &#8211; what was his reason? Vista uses more power and Microsoft was therefore fighting to destroy the environment&#8230;. Now, there are many valid arguments for using Linux instead of Vista, however saving the environment is definitely not one of them! It really pisses me off a lot of organizations are using this global warming frenzy to push their agendas, just by coating it with some environmental bullshit.</p>
<p>So &#8211; My conclusion? Shift all energy production to wind power and nuclear power &#8211; and stop irritating us with demands of lower power consumption. The only real reason to consume less power is saving money &#8211; power is expensive and will probably keep on getting more expensive for a long while, so if one can develop machines that consume less power, these machines will obviously be cheaper &#8211; this however has nothing to do with saving the environment.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.scepticalmind.com/2008/09/11/energy-saving-hype/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linus Torvalds &#8211; Living in a dream world?</title>
		<link>http://www.scepticalmind.com/2008/08/26/linus-torvalds-living-in-a-dream-world/</link>
		<comments>http://www.scepticalmind.com/2008/08/26/linus-torvalds-living-in-a-dream-world/#comments</comments>
		<pubDate>Mon, 25 Aug 2008 23:36:30 +0000</pubDate>
		<dc:creator>Michael Lind Mortensen</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Linus Torvalds]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://www.scepticalmind.com/?p=59</guid>
		<description><![CDATA[When I originally decided to write this post I was a bit hesitant about attacking Linus too vigorously. I do have a huge amount of respect for what this man has achieved, however I&#8217;m not going to censor myself in any way and need to say what has been irritating me for some time. About [...]]]></description>
			<content:encoded><![CDATA[<p>When I originally decided to write this post I was a bit hesitant about attacking Linus too vigorously. I do have a huge amount of respect for what this man has achieved, however I&#8217;m not going to censor myself in any way and need to say what has been irritating me for some time.</p>
<p>About a month ago I saw a news feed related to Mr. Torvalds&#8217; comments here: <a title="Linus Torvalds on security" href="http://article.gmane.org/gmane.linux.kernel/706950">http://article.gmane.org/gmane.linux.kernel/706950</a>. His comments has since then been on my mind quite a lot and have actual decreased my regard for this man&#8217;s opinion, as he seems completely ignorant to the state of things.</p>
<p>To be fair, I should state that I do work with computer security and I use FreeBSD on my Laptop and several of my servers, so I might be a bit bias. However I do also have a couple of Linux machines, a couple of Linux servers and two Microsoft Windows systems &#8211; no Mac however, but that&#8217;s another discussion. But even though his comments were somewhat directed at people like me, I still don&#8217;t fit his stereotype completely <em>(and don&#8217;t get mad easily)</em> and therefore believe I am objective enough to comment in an adult way.</p>
<p>So &#8211; let&#8217;s get started. Let&#8217;s just put in his quote in it&#8217;s complete form and I&#8217;ll begin explaining why he&#8217;s wrong:</p>
<blockquote>
<pre>Btw, and you may not like this, since you are so focused on security, one
reason I refuse to bother with the whole security circus is that I think
it glorifies - and thus encourages - the wrong behavior.

It makes "heroes" out of security people, as if the people who don't just
fix normal bugs aren't as important.

In fact, all the boring normal bugs are _<span style="text-decoration: underline;">way</span>_ more important, just because
there's a lot more of them. I don't think some spectacular security hole
should be glorified or cared about as being any more "special" than a
random spectacular crash due to bad locking.

Security people are often the black-and-white kind of people that I can't
stand. I think the OpenBSD crowd is a bunch of masturbating monkeys, in
that they make such a big deal about concentrating on security to the
point where they pretty much admit that nothing else matters to them.

To me, security is important. But it's no less important than everything
<strong>*else*</strong> that is also important!

			Linus</pre>
</blockquote>
<p>So why is he wrong? Well, it&#8217;s really not that complicated &#8211; he neglects to recognize what&#8217;s important for the biggest users of Linux systems in the world &#8211; the businesses and universities! The most important issues for these users are and have always been: <strong>Stability</strong>, <strong>Security</strong> and <strong>Reliability</strong>. All these humongous users have systems that need to stay up and running 24-7 all year long &#8211; without incident! So to claim that security issues aren&#8217;t more important than &#8220;normal&#8221; bugs is just plain naive! Functionality isn&#8217;t important for anyone but the end users, as the companies and institutions have already made the functions they want available &#8211; they don&#8217;t want their users to be able to do a bunch of stuff they didn&#8217;t expect or plan, so for them it doesn&#8217;t matter at all. Stability is another issue however and I do agree there isn&#8217;t much difference between a stability issue and a security issue.</p>
<p>Also the stuff about OpenBSD users being black-and-white &#8211; he&#8217;s got to be kidding right? By simply stating this without proof, he makes himself seem untrustworthy to me, because in my experience, I&#8217;ve seen the exact opposite! Linux users are the people whom are black-and-white, the people whom hate Microsoft for no other reason than they&#8217;re not Linux, the people whom claim all software should be free and whom believe that enterprises are killing innovation. Even though I&#8217;ve seen these things, I still wouldn&#8217;t conclude <em>&#8220;Linux people are often the black-and-white kind of people&#8230;&#8221;</em>, as I had no way of knowing this unless I actually knew enough of the world population of Linux users to claim that the majority believe certain things.</p>
<p>Also <em>&#8220;Masturbating monkeys&#8221; &#8211; </em>Stop being a fucking child! I can respect using profanities to emphasize your points and it would be easier to respect you if you weren&#8217;t the fucking creator of a struggling OS &#8211; but seriously&#8230; self-pleasuring primates? &#8211; Grow up and show some respect! The OpenBSD project has come out with a lot of good stable software and talking about them in this way is basically just like spitting in their fucking faces! It&#8217;s no different than if I said Linux users were donkey-fucking scat-lovers &#8211; an equally retarded statement!</p>
<p>And concerning Mr. Torvalds&#8217; last point:</p>
<blockquote>
<pre>To me, security is important. But it's no less important than everything
<strong>*else*</strong> that is also important!</pre>
</blockquote>
<p>Most will probably agree with this &#8211; as I also do &#8211; however we apparently have very different views of what is important and what isn&#8217;t important!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.scepticalmind.com/2008/08/26/linus-torvalds-living-in-a-dream-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FreeBSD on Microsoft Hyper-V</title>
		<link>http://www.scepticalmind.com/2008/05/24/freebsd-on-microsoft-hyper-v/</link>
		<comments>http://www.scepticalmind.com/2008/05/24/freebsd-on-microsoft-hyper-v/#comments</comments>
		<pubDate>Sat, 24 May 2008 09:55:17 +0000</pubDate>
		<dc:creator>Michael Lind Mortensen</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">http://www.scepticalmind.com/?p=20</guid>
		<description><![CDATA[So I&#8217;ve been looking into the problem of getting FreeBSD running on Microsoft Hyper-V the last few days and then yesterday I finally got it working. Apparently people have been quite upset that Hyper-V only offered support for Windows based systems and Linux SuSE systems, which is obviously not very bright or community friendly &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;ve been looking into the problem of getting FreeBSD running on Microsoft Hyper-V the last few days and then yesterday I finally got it working.</p>
<p>Apparently people have been quite upset that Hyper-V only offered support for Windows based systems and Linux SuSE systems, which is obviously not very bright or community friendly &#8211; to be quite honest I would rather use WMWare due to the very few *nix systems Hyper-V officially supports.</p>
<p>However you can&#8217;t always pick and choose, and in this particular situation &#8211; I couldn&#8217;t either! So I had to get it working, so first I tried FreeBSD 7.0 RELEASE with a bootonly .iso and tried to mount that in the virtual machine &#8211; however the only thing I got out of that was a disc trying to boot but failing almost immediately with the message:</p>
<p>&#8220;Can&#8217;t load kernel&#8221;</p>
<p>So I tried FreeBSD 6.3 STABLE instead since it was obviously due to the kernel loading with FreeBSD 7.0. But again &#8211; no luck and just the same message:</p>
<p>&#8220;Can&#8217;t load kernel&#8221;</p>
<p>So finally I tried FreeBSD 8.0 CURRENT and to my great surprise &#8211; this would actually boot and let me install. However there are a few quirks that I haven&#8217;t worked out yet. Like the fact that FreeBSD apparently doesn&#8217;t detect the network interface given to it by Hyper-V &#8211; something that is somewhat of a huge problem.</p>
<p>So anywho &#8211; FreeBSD 8.0 CURRENT works with Microsoft Hyper-V&#8230; so for all you people I&#8217;ve seen with this problem, use FreeBSD 8.0 for your install.</p>
<p>I&#8217;ll write more when I&#8217;ve done some more extensive benchmarking and configuration.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.scepticalmind.com/2008/05/24/freebsd-on-microsoft-hyper-v/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Mogrify &#8211; Unix command</title>
		<link>http://www.scepticalmind.com/2008/04/13/mogrify-unix-command/</link>
		<comments>http://www.scepticalmind.com/2008/04/13/mogrify-unix-command/#comments</comments>
		<pubDate>Sun, 13 Apr 2008 07:13:53 +0000</pubDate>
		<dc:creator>Michael Lind Mortensen</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.scepticalmind.com/?p=13</guid>
		<description><![CDATA[I just found one of the nicest unix commands I&#8217;ve had the pleasure of using. I recently had to convert a large number of images from one format to another (due to a crappy image display device without PNG support), so I stumbled onto this little wonder. It&#8217;s very simple to use. So for example [...]]]></description>
			<content:encoded><![CDATA[<p>I just found one of the nicest unix commands I&#8217;ve had the pleasure of using. I recently had to convert a large number of images from one format to another (due to a crappy image display device without PNG support), so I stumbled onto this little wonder.</p>
<p>It&#8217;s very simple to use. So for example if you wanted to convert a directory of PNG images to JPEG, just do:</p>
<pre># mogrify -format jpeg *.png</pre>
<p>Simple right?</p>
<p>It can also be used for a bunch of other stuff &#8211; like resizing pictures</p>
<pre># mogrify -resize 800x600! somepicture.tiff</pre>
<p>Actually you can find a full set of examples here:</p>
<p><a href="http://linux.about.com/od/commands/l/blcmdl1_mogrify.htm" target="_blank">http://linux.about.com/od/commands/l/blcmdl1_mogrify.htm </a></p>
<p>So there you have it &#8211; juts thought I would share.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.scepticalmind.com/2008/04/13/mogrify-unix-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
