Originally posted by toothe
i am using slackware 10.2 and after changing the default MOTD /etc/motd file, i loged in and this was the motd file displayed. after restarting the box the file had reverted to the old file.
I quote from "/etc/rc.d/rc.S"
# Setup the /etc/motd to reflect the current kernel level:
# THIS WIPES ANY CHANGES YOU MAKE TO /ETC/MOTD WITH EACH BOOT.
# COMMENT THIS OUT IF YOU WANT TO MAKE A CUSTOM VERSION.
echo "$(/bin/uname -sr)." > /etc/motd
In other words, every time the os boots it changes the motd file
As it says comment the "echo" line and then edit the file and put whatever you want.