My /etc/motd file is showing duplicate messages. When I edit it manual, it keeps returning to the messed up version whenever a user logs in.How do I stop this? I'm using Ubuntu 10.04
Motd not changing
ubuntu;motd
The MOTD is generated by a script. To prevent the default MOTD from reverting, remove the execute bit from the /etc/update-motd.d/00-header file and put your desired MOTD text into /etc/motd.tail. Or, to keep the default MOTD text and just append your own text to it, leave the 00-header file alone and add your text to the motd.tail file.