xref: /openbsd-src/share/man/man5/motd.5 (revision a28daedfc357b214be5c701aa8ba8adb29a7f1c2)
1.\"	$OpenBSD: motd.5,v 1.8 2007/05/31 19:19:58 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 31 2007 $
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.
22.Pp
23Individual users may suppress the display of this file by creating a file named
24.Pa .hushlogin
25in their home directories.
26.Sh FILES
27.Bl -tag -width /etc/motd -compact
28.It Pa /etc/motd
29.El
30.Sh EXAMPLES
31.Bd -literal
32OpenBSD 3.0 (GENERIC) #5: Sat Jan 26 20:13:07 MST 2002
33
34Make sure you have a .forward file...
35
364/17	Machine will be down for backups all day Saturday.
37.Ed
38.Sh SEE ALSO
39.Xr login 1
40