Zentyal‎ > ‎

motd

The default Zentyal MOTD is rather long-winded.  When I SSHd into my Zentyal the first time, I was met by about three paragraphs of unnecessary clutter.

Welcome to Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-34-generic x86_64)

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

                    *** Zentyal WARNING ***

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.

Please note that this is an Zentyal machine. This means that if you change
some configuration files, Zentyal and some other parts of the system
could fail. Make sure you know what you're doing before continuing.

Thank you for using Zentyal! http://www.zentyal.org/

Zentyal uses update-motd to provide more useful information at login (such as informing the user when updates are available, or when a reboot is required).  So we can't just edit /etc/motd to remove this clutter because it would just get regenerated.  We can look in /etc/update-motd.d to see how the MOTD is generated, but the annoying zentyal bits are in /etc/motd.tail; just flush the contents of that file to make your login nice and quiet.

update: it seems this message comes back when zentyal updates.  I don't have a fix for that right off other than to make a boot script that expunges the contents of the file.
Comments