How to change message of the day (MOTD) in Ubuntu server

The contents of /etc/motd are displayed by login after a successful login but just before it executes the login shell.