Ubuntu Server MOTD Include Security Updates

By | 2012/07/07

Ubuntu Server can display outstanding package and security updates as the MOTD when logging in locally or via ssh. I’ll show you how!


To enable this feature, install the following package:

$ sudo apt-get install update-notifier-common

The terminal output will look as below:

$ ssh user@example.com
Linux example.com 3.0.18-linode43 #1 SMP Mon Jan 30 11:44:09 EST 2012 i686 GNU/Linux
Ubuntu 10.04.4 LTS

Welcome to Ubuntu!
 * Documentation:  https://help.ubuntu.com/

0 packages can be updated.
0 updates are security updates.

Last login: Sat Jul  7 10:13:16 2012 from example.com
user@example:~$ 

Cool!