Missing update-motd script

Tom H tomh0665 at gmail.com
Sat Jun 5 07:07:14 UTC 2010


On Fri, Jun 4, 2010 at 7:42 PM, Alex Schuster <wonko at wonkology.org> wrote:
>
> I want to tweak the /etc/motd output, and so I aptgetinstalled the
> update-motd package. Well... documentation like [*] tells me that there
> should be things like an update-motd script and an
> /etc/cron.d/update-motd conjob. And /usr/share/doc/update-motd/README
> suggests to read the update-motd man page.
>
> Well, I do not have any of them:
>
> root at bors:~# locate update-motd
> /etc/update-motd.d
> /etc/update-motd.d/99-reboot-required
> /etc/update-motd.d/old
> /etc/update-motd.d/old/00-header
> /etc/update-motd.d/old/50-landscape-sysinfo
> /etc/update-motd.d/old/80-eucalyptus-url
> /etc/update-motd.d/old/90-updates-available
> /etc/update-motd.d/old/91-release_upgrade
> /usr/lib/update-notifier/update-motd-reboot-required
> /usr/lib/update-notifier/update-motd-updates-available
> /usr/share/doc/update-motd
> /usr/share/doc/update-motd/README
> /usr/share/doc/update-motd/THANKS
> /usr/share/doc/update-motd/changelog.Debian.gz
> /usr/share/doc/update-motd/copyright
> /usr/share/ubuntu-serverguide/html/C/update-motd.html
> /var/cache/apt/archives/update-motd_3.5-0ubuntu1_all.deb
> /var/lib/dpkg/info/update-motd.list
> /var/lib/dpkg/info/update-motd.md5sums
> /var/lib/dpkg/info/update-motd.preinst
> /var/lib/dpkg/info/update-motd.prerm
> /var/lib/update-rc.d/update-motd
>
> The /etc/update-motd.d/old directory is my change, I moved some files I
> do not like to be processed when updating the motd. But there's no
> update-motd script on the system.

The scripts in /etc/update-motd.d are run at boot if they are
executable and the motd stanza is present in "/etc/pam.d/login".




More information about the ubuntu-users mailing list