sync
[bitrig.git] / share / man / man5 / motd.5
blob968e6f93a852e626972221f0922ca8faf9bcfb80
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
13 The
14 .Pa /etc/motd
15 file 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
20 replaces all lines up to (but not including) the first blank line of
21 this file.
22 Customised messages can be added to this file after
23 that first blank line.
24 .Pp
25 Individual users may suppress the display of this file by creating a file named
26 .Pa .hushlogin
27 in 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
34 OpenBSD 3.0 (GENERIC) #5: Sat Jan 26 20:13:07 MST 2002
36 Make sure you have a .forward file...
38 4/17    Machine will be down for backups all day Saturday.
39 .Ed
40 .Sh SEE ALSO
41 .Xr login 1