The /etc/motd, /etc/issue, and /etc/issue.net files govern warning banners for standard command line logins for both local and remote users.
/etc/motd
/etc/issue
/etc/issue.net