#
#### # # #### ##
# # # # # #
#### # #### #
# # # #
# # # # # #
#### # #### #####
I pipe the output of banner to /etc/motd so the banner message is displayed when users login. If you need information on what /etc/motd (Mesage of the Day) is and how it works, see this SCO Group page for details. Continue reading for the banner source.
Compile the source using gcc:
#/> gunzip banner.c.gz
#/> gcc -o banner banner.c
#/> ./banner cool
#### #### #### #
# # # # # # #
# # # # # #
# # # # # #
# # # # # # #
#### #### #### ######
To make the banner your M.O.T.D. (/etc/motd), as root run:
(root)#/> ./banner system name | tee -a /etc/motd
For Solaris, you can find the source here.
On HP-UX, banner is already built and installed with the core OS. For Perl nuts, there's actually a Perl version of banner on CPAN (Banner.pm).


Did you find this post helpful, or at least, interesting?