How do I display the login message in Linux?
Normally, a welcome message can be shown by customizing the /etc/motd file (which stands for Message Of The Day). /etc/motd is not a script but a text file which contents are shown before the first prompt of a login session.
How do I disable login banner in Linux?
In that file, comment out (by adding a # character) the line session optional pam_motd.so motd=/run/motd. dynamic and the line session optional pam_motd.so noupdate. With these configurations in place, it won't matter who logs into your Linux machine, they won't see the banner.