<?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>High Tech Sorcery &#187; ubuntu</title>
	<atom:link href="http://hightechsorcery.com/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://hightechsorcery.com</link>
	<description>technology indistinguishable from magic</description>
	<lastBuildDate>Wed, 18 Jan 2012 21:02:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Running Xen on Various Linux Distributions</title>
		<link>http://hightechsorcery.com/2010/01/running-xen-on-various-linux-distributions/</link>
		<comments>http://hightechsorcery.com/2010/01/running-xen-on-various-linux-distributions/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 00:41:29 +0000</pubDate>
		<dc:creator>specialj</dc:creator>
				<category><![CDATA[virtualization]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[opensuse]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://hightechsorcery.com/?p=39</guid>
		<description><![CDATA[I have been looking to various GNU/Linux distributions to determine their level of support for Xen.  Here&#8217;s what I found: Debian Etch &#8211; Xen Hypervisor 3.2.1 (via backports), Linux kernel 2.6.26 (via backports) Debian Lenny &#8211; Xen Hypervisor 3.2.1, Linux dom0 kernel 2.6.26 Debian Squeeze (testing) &#8211; Xen Hypervisor 3.4.2, Linux dom0 kernel ??? Ubuntu 8.04 (Hardy) [...]]]></description>
			<content:encoded><![CDATA[<p>I have been looking to various GNU/Linux distributions to determine their level of support for Xen.  Here&#8217;s what I found:</p>
<ul>
<li>Debian Etch &#8211; Xen Hypervisor 3.2.1 (via backports), Linux kernel 2.6.26 (via backports)</li>
<li>Debian Lenny &#8211; Xen Hypervisor 3.2.1, Linux dom0 kernel 2.6.26</li>
<li>Debian Squeeze (testing) &#8211; Xen Hypervisor 3.4.2, Linux dom0 kernel ???</li>
<li>Ubuntu 8.04 (Hardy) &#8211; Xen Hypervisor 3.3.0 (via backports), Linux dom0 kernel 2.6.24</li>
<li>Ubuntu 8.10-10.04 (Intrepid-Lucid) &#8211; ﻿Xen Hypervisor 3.3.0, no Linux dom0 kernel</li>
<li>OpenSuse 11.2 &#8211; Xen Hypervisor 3.4.1, Linux dom0 kernel 2.6.31</li>
</ul>
<p>As much as I like Debian and Debian based distros I think OpenSuse is probably the best platform for hosting Xen at the moment.</p>
]]></content:encoded>
			<wfw:commentRss>http://hightechsorcery.com/2010/01/running-xen-on-various-linux-distributions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing pygrub in Ubuntu 9.04</title>
		<link>http://hightechsorcery.com/2010/01/fixing-pygrub-in-ubuntu-9-04/</link>
		<comments>http://hightechsorcery.com/2010/01/fixing-pygrub-in-ubuntu-9-04/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 08:15:58 +0000</pubDate>
		<dc:creator>specialj</dc:creator>
				<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[pygrub]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://hightechsorcery.com/?p=32</guid>
		<description><![CDATA[I think Ubuntu 9.04 is the only version of Ubuntu suffering from this bug but it appears as though no fix for this serious regression will be forthcoming.  To get pygrub to work you actually have to fix a bug in the python 2.5 curses library.  Open &#8220;﻿﻿/usr/lib/python2.5/curses/__init__.py&#8221; and add the following lines starting at [...]]]></description>
			<content:encoded><![CDATA[<p>I think Ubuntu 9.04 is the only version of Ubuntu suffering from this bug but it appears as though no fix for this serious regression will be forthcoming.  To get pygrub to work you actually have to fix a bug in the python 2.5 curses library.  Open &#8220;﻿﻿/usr/lib/python2.5/curses/__init__.py&#8221; and add the following lines starting at line 17:</p>
<p><code>import os as _os<br />
import sys as _sys</code></p>
<p>After that pygrub should work correctly.  More information about this bug can be found in <a href="https://bugs.launchpad.net/ubuntu/+source/python2.5/+bug/395321">launchpad bug #395321</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://hightechsorcery.com/2010/01/fixing-pygrub-in-ubuntu-9-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up a user with only scp and sftp access</title>
		<link>http://hightechsorcery.com/2010/01/setting-up-a-user-with-only-scp-and-sftp-access/</link>
		<comments>http://hightechsorcery.com/2010/01/setting-up-a-user-with-only-scp-and-sftp-access/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 01:37:23 +0000</pubDate>
		<dc:creator>specialj</dc:creator>
				<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[chroot]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[sshd]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://hightechsorcery.com/?p=7</guid>
		<description><![CDATA[In the olden days one had to use packages such as scponly and rssh in order to restrict a user account to just being able to use scp and sftp.  Now that functionality is built into OpenSSH.  A client wanted me to setup such an account for 1 user on a system.  I modified sshd_config [...]]]></description>
			<content:encoded><![CDATA[<p>In the olden days one had to use packages such as scponly and rssh in order to restrict a user account to just being able to use scp and sftp.  Now that functionality is built into OpenSSH.  A client wanted me to setup such an account for 1 user on a system.  I modified sshd_config like this:</p>

<div class="wp_syntax"><div class="code"><pre class="none" style="font-family:monospace;">Match user username
  ChrootDirectory /home/%u
  ForceCommand internal-sftp
  X11Forwarding no
  AllowTcpForwarding no</pre></div></div>

<p>Note that this only works in Ubuntu 8.10 and later and Debian 5.0 and later.  Also, be aware that the home directry has to be owned by root and not writable by the user for security reason.  So a directory inside the home directory will need to be created for the user to upload any files.</p>
<p><span id="more-7"></span></p>
<p>References:</p>
<ol>
<li><a href="http://www.debian-administration.org/articles/590">OpenSSH SFTP chroot() with ChrootDirectory</a></li>
<li><a href="http://blogs.techrepublic.com.com/opensource/?p=229">Chroot users with OpenSSH: An easier way to confine users to their home directories</a></li>
</ol>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 155px; width: 1px; height: 1px;">
<h1>Chroot users with OpenSSH: An easier way to confine users to their home directories</h1>
</div>
]]></content:encoded>
			<wfw:commentRss>http://hightechsorcery.com/2010/01/setting-up-a-user-with-only-scp-and-sftp-access/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

