Message of the day

From KevinWiki

Revision as of 04:32, 28 March 2013 by Kevin (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Message of the day (MOTD)


$ ls -l /var/run/motd* 

If it has /var/run/ it might be caused by some scripts in /etc/update-motd.d/ Usually the program that the script runs doesn't exist anymore so it returns an error so failed to write /var/run/motd but /var/run/ Find which one causes the issue (probably move the scripts to somewhere else and move one by one to /etc/update-motd.d/ to check by log out and in again).

  • It might be one of the scripts created by update-notifier-common so check it first by
$ apt-get purge update-notifier-common 
  • To install it again,
$ apt-get install update-notifier-common 
  • Or it might be update-manager-core.
$ apt-get purge update-manager-core 
$ apt-get install update-manager-core

System Info

  • Installing landscape-common will result in more information about the system when logging in.
$ sudo apt-get install landscape-common 
Personal tools