Edit the Message of the Day (motd) in Ubuntu 10.10
- February 6th, 2011
- Posted in Technology
- By Wayfarer
- Write comment
I had the most trouble getting this to work. Many posts just didn’t do it for me, and so I’m writing this so I can remember how to do it in the future.
Backup existing motd file, which is a symlink:
sudo mv /etc/motd /etc/motd.bak
Create a new motd file, and add what you want into it. EG:
sudo nano /etc/motd
After editing the file, restart SSH:
sudo /etc/init.d/ssh restart
And there you go! Enjoy your new Message of the Day!

Thank you very much for this! Weird how it has worked on past versions of Ubuntu, without deleting the symlink, but now, for some reason with Ubuntu 10.10, you have to remove the symlink. Odd, but good to know.
Thanks again!
Best regards,
Jeff