xref: /openbsd/share/man/man5/motd.5 (revision 73471bf0)
1.\"	$OpenBSD: motd.5,v 1.10 2009/05/06 19:43:16 jmc Exp $
2.\"	$NetBSD: motd.5,v 1.2 1994/12/28 18:58:53 glass Exp $
3.\"
4.\" This file is in the public domain.
5.\"
6.Dd $Mdocdate: May 6 2009 $
7.Dt MOTD 5
8.Os
9.Sh NAME
10.Nm motd
11.Nd message of the day
12.Sh DESCRIPTION
13The
14.Pa /etc/motd
15file is 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
20replaces all lines up to (but not including) the first blank line of
21this file.
22Customised messages can be added to this file after
23that first blank line.
24.Pp
25Individual users may suppress the display of this file by creating a file named
26.Pa .hushlogin
27in their home directories.
28.Sh FILES
29.Bl -tag -width /etc/motd -compact
30.It Pa /etc/motd
31.El
32.Sh EXAMPLES
33.Bd -literal
34OpenBSD 3.0 (GENERIC) #5: Sat Jan 26 20:13:07 MST 2002
35
36Make sure you have a .forward file...
37
384/17	Machine will be down for backups all day Saturday.
39.Ed
40.Sh SEE ALSO
41.Xr login 1
42