The traditional way to do this is to edit /etc/motd.
It shows up after the user logs in but before login runs.
Motd also shows up after a remote user logs on.
See motd(5).