On a newly installed FreeBSD server I have a custom MOTD which was set by modifying /etc/motd.template and restarting the motd server. It displays just fine. What is not fine though, is that there's an additional "tip" style message appended to my motd. So if I have my motd set to "
The tip thing changes on each login.
I've been Googling and can't find a thing about it, and I see nothing in any login script that might be doing it. motd(5) mentions only three relevant files, none of which appear to affect this. The shell in use is bash but I get the same behavior when setting the account to use sh by default.
How do I make it so my MOTD shows only my MOTD and nothing else?
This is my MOTD" and nothing else, I log into my server I will see something like this:
Code:
This is my MOTD
If you `set watch = (0 any any)' in tcsh, you will be notified when
someone logs in or out of your system.
The tip thing changes on each login.
I've been Googling and can't find a thing about it, and I see nothing in any login script that might be doing it. motd(5) mentions only three relevant files, none of which appear to affect this. The shell in use is bash but I get the same behavior when setting the account to use sh by default.
How do I make it so my MOTD shows only my MOTD and nothing else?
Last edited by a moderator: