xref: /freebsd/share/man/man5/motd.5 (revision 2f513db72b034fd5ef7f080b11be5c711c15186a)
1.\"	$NetBSD: motd.5,v 1.2 1994/12/28 18:58:53 glass Exp $
2.\"
3.\" This file is in the public domain.
4.\" $FreeBSD$
5.\"
6.Dd July 20, 2019
7.Dt MOTD 5
8.Os
9.Sh NAME
10.Nm motd
11.Nd file containing message(s) of the day
12.Sh DESCRIPTION
13The file
14.Pa /var/run/motd
15is normally displayed by
16.Xr login 1
17after a user has logged in but before the shell is run.
18It is generally used for important system-wide announcements.
19During system startup, a line containing the kernel version string is
20prepended to
21.Pa /etc/motd.template
22and the contents are written to
23.Pa /var/run/motd .
24.Pp
25Individual users may suppress the display of this file by
26creating a file named
27.Dq Pa .hushlogin
28in their home directories or through
29.Xr login.conf 5 .
30.Sh FILES
31.Bl -tag -width $HOME/.hushlogin -compact
32.It Pa /etc/motd.template
33The template file that system administrators can edit.
34.It Pa /var/run/motd
35The message of the day.
36.It Pa $HOME/.hushlogin
37Suppresses output of
38.Pa /var/run/motd .
39.El
40.Sh EXAMPLES
41.Bd -literal
42FreeBSD 2.1.6.1-RELEASE (GENERIC) #0: Sun Dec 29 03:08:31 PST 1996
43
44/home is full.  Please cleanup your directories.
45.Ed
46.Sh SEE ALSO
47.Xr login 1 ,
48.Xr login.conf 5
49.Sh HISTORY
50Prior to
51.Fx 13.0 ,
52.Nm
53lived in
54.Pa /etc .
55