]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/man/man5/motd.5
Upgrade to version 3.1.5
[FreeBSD/FreeBSD.git] / share / man / man5 / motd.5
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
13 The file
14 .Pa /var/run/motd
15 is normally displayed by
16 .Xr login 1
17 after a user has logged in but before the shell is run.
18 It is generally used for important system-wide announcements.
19 During system startup, a line containing the kernel version string is
20 prepended to
21 .Pa /etc/motd.template
22 and the contents are written to
23 .Pa /var/run/motd .
24 .Pp
25 Individual users may suppress the display of this file by
26 creating a file named
27 .Dq Pa .hushlogin
28 in 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
33 The template file that system administrators can edit.
34 .It Pa /var/run/motd
35 The message of the day.
36 .It Pa $HOME/.hushlogin
37 Suppresses output of
38 .Pa /var/run/motd .
39 .El
40 .Sh EXAMPLES
41 .Bd -literal
42 FreeBSD 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
50 Prior to
51 .Fx 13.0 ,
52 .Nm
53 lived in
54 .Pa /etc .