Removing Landscape advert from Ubuntu login

To remove the text that says: “Graph this data and manage this system at https://landscape.canonical.com/” while keeping the useful system information, edit the script that puts Landscape information into the message of the day (MOTD):

sudo nano -w /etc/update-motd.d/50-landscape-sysinfo

The last line currently reads:
/usr/bin/landscape-sysinfo

Change this to say (on one line):
/usr/bin/landscape-sysinfo --exclude-sysinfo-plugins=LandscapeLink
Save the file (Ctrl-X, Y, Enter)

Test this by running:
/etc/update-motd.d/50-landscape-sysinfo

It should look like:

  System information as of Tue Nov 24 13:28:10 GMT 2009

System load: 0.0 Memory usage: 37% Processes: 99 Usage of /: 22.5% of 12.92GB Swap usage: 0% Users logged in: 1

Comment

Recent articles

Obfuscation is Easy

I’ve decided to post all the links and comments and bits and bobs I find on a new part of the website, called Obfuscation is Easy. There, they won’t clutter up any useful content I put on this site. It’s a separation of

Keep Reading...

[Solved] Can't run Crashplan desktop under Ubuntu

I’ve installed Crashplan on my Ubuntu server (it installed its own JVM) and now I’m trying to start the Crashplan desktop client using X11 forwarding. I get:

$ cat /usr/local/crashplan/log/ui_error.log com.backup42.desktop.CPDesktop...

Keep Reading...

Encouragement - Andy McBean talks about love

… And life and friendship. My awesome brother-in-law, Andy McBean, has a new blog called Encouragement where he’s laying out some ideas about relationships that are very close to my...

Keep Reading...

Popular articles

REISUB - the gentle Linux restart

According to Lifehacker a frozen Linux system that’s not responding to the Ctrl-Alt-Delete three-finger-salute can be restarted more safely than by pushing the power button, which is usually...

Keep Reading...

Batch file comments

In Windows batch files, you can use a double-colon (::) as a comment. I’ve just spend a few hours trying to figure out why my batch file says, “The syntax of the command is incorrect.” when I run it. The answer? I’ve got a :: comment as the last...

Keep Reading...

Obscure python urllib2 proxy gotcha

This is going to be very obscure, technical and humourless1, so unless you suspect your environment-set http proxy is messing with your python, you can stop reading now.

This is actually two problems, and three...

Keep Reading...