I’ve tried setting up crontab to run a python script that replaces the contents of /etc/motd. Although the contents of the file changes, it appears to have no effect when I log back in and the contents is reset.
I’ve looked into update-motd, but this doesn’t seem to be used. Is there a way to permanently change the contents of the file?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.