<?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>Anesti &#187; Ubuntu</title>
	<atom:link href="http://anesti.org/category/computers-technology/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://anesti.org</link>
	<description>Revitalized and Risen</description>
	<lastBuildDate>Wed, 26 May 2010 05:14:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Ubuntu Landscape MOTD without Landscape</title>
		<link>http://anesti.org/2009/12/ubuntu-landscape-motd-without-landscape/</link>
		<comments>http://anesti.org/2009/12/ubuntu-landscape-motd-without-landscape/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 17:32:49 +0000</pubDate>
		<dc:creator>Sawyer</dc:creator>
				<category><![CDATA[Computers & Technology]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://anesti.org/?p=270</guid>
		<description><![CDATA[SSH into a machine running Ubuntu Server 9.10 and witness a pretty slick new message of the day (MOTD). Linux anesti 2.6.31-16-generic-pae #53-Ubuntu SMP Tue Dec 8 05:20:21 UTC 2009 i686 To access official Ubuntu documentation, please visit: http://help.ubuntu.com/ System information as of Tue Dec 29 10:18:31 MST 2009 System load: 1.46               Memory usage: 50%   [...]]]></description>
			<content:encoded><![CDATA[<p>SSH into a machine running Ubuntu Server 9.10 and witness a pretty slick new message of the day (MOTD).</p>
<blockquote><p>Linux anesti 2.6.31-16-generic-pae #53-Ubuntu SMP Tue Dec 8 05:20:21 UTC 2009 i686</p>
<p>To access official Ubuntu documentation, please visit:</p>
<p>http://help.ubuntu.com/</p>
<p>System information as of Tue Dec 29 10:18:31 MST 2009</p>
<p>System load: 1.46               Memory usage: 50%   Processes:       93<br />
Usage of /:  6.5% of 184.12GB   Swap usage:   0%    Users logged in: 0</p>
<p>Graph this data and manage this system at https://landscape.canonical.com/</p></blockquote>
<p>The message at the bottom refers to <a title="Canonical" href="http://www.canonical.com/" target="_blank">Canonical</a>&#8216;s newest commercial offering for <a title="Ubuntu Server" href="http://www.ubuntu.com/products/whatIsubuntu/serveredition" target="_blank">Ubuntu servers</a>. Essentially, <a title="Landscape" href="https://landscape.canonical.com/" target="_blank">Landscape</a> is a web-based system monitoring interface hosted by Canonical. While the product/service itself is pretty useful, the cost of it could be prohibitive for many Ubuntu Server users. I had installed Landscape initially to play with it, but after seeing the screenshots and information about the product, decided not to bother. I did, however, like the MOTD displayed on login with the Landscape data and wanted to keep that while not wasting CPU cycles running the landscape-client. Here&#8217;s how I kept the informational MOTD, but removed Landscape from my box.</p>
<ol>
<li>Remove Landscape from the machine
<pre><span style="color: #ffffff;">sudo apt-get remove landscape-client</span></pre>
<p>Note: apt will inform you that packages are ready to be auto-removed.To ensure that the landscape-common package we need doesn&#8217;t get removed, force the package to install.</p>
<pre><span style="color: #ffffff;">sudo apt-get install landscape-common</span></pre>
<p>You can then auto-remove the remaining packages.</p>
<pre><span style="color: #ffffff;">sudo apt-get autoremove</span></pre>
</li>
<li>At this point, you&#8217;ll notice that the &#8220;Graph this data and manage this system at https://landscape.canonical.com/&#8221; message still shows. If it doesn&#8217;t bother you, you can stop here. If you want to get rid of it, you&#8217;ll need to edit the Python file that outputs this text.
<pre><span style="color: #ffffff;">sudo nano /usr/share/pyshared/landscape/sysinfo/landscapelink.py</span></pre>
<p>Comment out the <strike>two</strike> three lines:</p>
<pre><span style="color: #ffffff;">    def run(self):
        #self._sysinfo.add_footnote(
            #"Graph this data and manage this system at "
            #"https://landscape.canonical.com/")
        return succeed(None)</span>
</pre>
</li>
<li>Log out and log back in to see the changes!</li>
</ol>
<p><strong>Edit:</strong> It appears the location of this file has changed, as it&#8217;s actually a symlink to
<pre>/usr/share/pyshared/landscape/sysinfo/landscapelink.py</pre>
<p>. I&#8217;ve updated the instructions to fit this. On my system, there are symlinks in both /usr/lib/python2.5 and /usr/lib/python2.6 for this, so it&#8217;s easier just to edit the main file.</p>
]]></content:encoded>
			<wfw:commentRss>http://anesti.org/2009/12/ubuntu-landscape-motd-without-landscape/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
