System Administration Guide, Volume 2

Example--Setting Up a Message of the Day

The default message of the day, provided when you install Solaris software, contains SunOS version information:


$ cat /etc/motd
Sun Microsystems Inc.   SunOS 5.8       Generic  February 2000

The following example shows an edited /etc/motd file that provides information about system availability to each user who logs in.


$ cat /etc/motd
The system will be down from 7:00 a.m to 2:00 p.m.on
Saturday, July 10, for upgrades and maintenance.
Do not try to access the system during those hours.
Thank you...