Thursday, September 30, 2010

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

Source:
http://www.newbtopro.com/guide/change_message_day_ubuntudebian

Basically, you remove the symbolic link /etc/motd and re-link to a static file:

sudo touch /etc/motd.static
sudo cat /etc/motd.tail > /etc/motd.static
sudo rm /etc/motd
sudo ln -s /etc/motd.static /etc/motd
sudo vi /etc/motd.static
Edit the file to your liking! Done.

No comments:

Post a Comment