PDA

View Full Version : [ubuntu] System Information upon login



discorsage
August 2nd, 2012, 08:17 PM
How is the system information displayed upon login in Ubuntu Server 12.04?

I ask for two reasons :

1) I'd just like to know what program this is

2) I have upgraded a 10.04 machine to 12.04 recently, using do-release-upgrade, and this server does not show system information upon login. I would like to fix that.

Loki57701
August 2nd, 2012, 09:03 PM
I think this is part of the landscape-common package.

(Must be run with sudo or as root)

You can disable this by running:


dpkg-reconfigure landscape-common


Chose the option to not display system information.

Also, if you don't want all that other stuff showing up when you login:



unlink /etc/motd
echo "" > /etc/motd
echo "" > /var/run/motd


That should clear up everything. Then you can add you own message into /etc/motd.

You'll have to log out and log back in to see the results.

Hope this helps.

discorsage
August 3rd, 2012, 12:12 AM
Actually I was in the middle of signing up for a trial landscape thing and so I happened to install the landscape packages.

Thank you!

d4m1r
August 3rd, 2012, 12:17 AM
Not sure what 12.04 displays when logging in but here's what 11.10 does and I'd guess it isn't very different:

Welcome to Ubuntu 11.10 (GNU/Linux 3.0.0-12-generic-pae i686)

* Documentation: https://help.ubuntu.com/

System information as of Thu Aug 2 19:16:59 EDT 2012

System load: 0.0 Processes: 64
Usage of /: 8.3% of 35.96GB Users logged in: 0
Memory usage: 11% IP address for eth0: xxxx
Swap usage: 1%

Graph this data and manage this system at https://landscape.canonical.com/
New release '12.04 LTS' available.
Run 'do-release-upgrade' to upgrade to it.

Last login: Thu Aug 2 18:29:51 2012 from 192.168.1.102

Loki57701
August 3rd, 2012, 01:59 AM
Hey, I forgot to mention, when you unlink /etc/motd, you are removing the soft link (shortcut) to /var/run/motd, so if you want to have a message of the day you will need to re-create /etc/motd as an actual file and not just a link. (touch /etc/motd)

also, I'm pretty sure the landscape package comes pre-installed on all ubuntu releases.