xref: /freebsd/share/man/man5/motd.5 (revision 6ee19f662391711cbe63d9df8259afeffbe95705)
18c21e889SMike Pritchard.\"	$NetBSD: motd.5,v 1.2 1994/12/28 18:58:53 glass Exp $
28c21e889SMike Pritchard.\"
38c21e889SMike Pritchard.\" This file is in the public domain.
48c21e889SMike Pritchard.\"
58c21e889SMike Pritchard.Dd February 13, 1997
68c21e889SMike Pritchard.Dt MOTD 5
78c21e889SMike Pritchard.Os
88c21e889SMike Pritchard.Sh NAME
98c21e889SMike Pritchard.Nm motd
108c21e889SMike Pritchard.Nd file containing message(s) of the day
118c21e889SMike Pritchard.Sh DESCRIPTION
128c21e889SMike PritchardThe file
138c21e889SMike Pritchard.Pa /etc/motd
148c21e889SMike Pritchardis normally displayed by
158c21e889SMike Pritchard.Xr login 1
168c21e889SMike Pritchardafter a user has logged in but before the shell is run.
178c21e889SMike PritchardIt is generally used for important system-wide announcements.
188c21e889SMike PritchardDuring system startup, a line containing the kernel version string is
198c21e889SMike Pritchardprepended to this file.
208c21e889SMike Pritchard.Pp
218c21e889SMike PritchardIndividual users may suppress the display of this file by
228c21e889SMike Pritchardcreating a file named
238c21e889SMike Pritchard.Dq Pa .hushlogin
246ee19f66STim Vanderhoekin their home directories or through
256ee19f66STim Vanderhoek.Xr login.conf 5 .
268c21e889SMike Pritchard.Sh FILES
278c21e889SMike Pritchard.Bl -tag -width $HOME/.hushlogin -compact
288c21e889SMike Pritchard.It Pa /etc/motd
298c21e889SMike PritchardThe message of the day.
308c21e889SMike Pritchard.It Pa $HOME/.hushlogin
318c21e889SMike PritchardSuppresses output of
328c21e889SMike Pritchard.Pa /etc/motd .
338c21e889SMike Pritchard.El
348c21e889SMike Pritchard.Sh EXAMPLES
358c21e889SMike Pritchard.Bd -literal
368c21e889SMike PritchardFreeBSD 2.1.6.1-RELEASE (GENERIC) #0: Sun Dec 29 03:08:31 PST 1996
378c21e889SMike Pritchard
388c21e889SMike Pritchard/home is full.  Please cleanup your directories.
398c21e889SMike Pritchard.Ed
408c21e889SMike Pritchard.Sh SEE ALSO
416ee19f66STim Vanderhoek.Xr login 1 ,
426ee19f66STim Vanderhoek.Xr login.conf 5
43