LNEXT
ONELCLEAN
UTERMINAL
TERMINAL
NEXT
$V1$
HILINE
PAUSE
q to quit, <CR> to continue
MOTD
------------------------|||--------------------------
System down today from 21:00 to 24:00
------------------------|||--------------------------
Artificial Intelligence Seminar starts next Monday
at 09:00 in conference room 4245
------------------------|||--------------------------
First Law of Gardening:
"Other people's tools work only in other
people's gardens!
GO
The file etc/motd holds all relevant and often irrelevant
information that the system manager wants the users to read when
they log into the system.
The text in /etc/motd is displayed on the user's terminal
prior to giving the user the shell prompt.
Most often the /etc/motd file contains various announcements
about an impending system down time, announcements about
meetings, announcements about new regulations, jokes, etc.
Only the superuser may modify the /etc/motd file and he/she
would do this by using an editor such as vi!
Let us check the content of
the /etc/motd file by
issuing a command to print
it on the screen!
$PROMPT$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Please type cat /etc/motd
Please type cat /etc/motd
You will be helped this time!
$PROMPT$
FORGET1
cat /etc/motd
Please observe the result above.
Let us now see how this
looks when the user logs in.
Assuming that the user's
login id is unixuser
and that he has no password,
please answer the prompt above.
CTI-UNIX!login:
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Please type unixuser
Please type unixuser
You will be helped this time!
FORGET2
unixuser
Please observe the result above.
Welcome to the CTI-UNIX System
System Thu Jul 17 18:22:25 PDT 1987
$
Above, you can see that in addition to the standard system
prompt, the message of the day, i.e., the information in the
file /etc/motd, is printed as well. As you can see,
/etc/motd is provided by the UNIX system to help the
system manager communicate with the other users!