Initial import from FreeBSD RELENG_4:
[dragonfly.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: src/share/man/man5/motd.5,v 1.4.2.1 2001/07/21 09:16:52 schweikh Exp $
5 .\"
6 .Dd February 13, 1997
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 /etc/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 this file.
21 .Pp
22 Individual users may suppress the display of this file by
23 creating a file named
24 .Dq Pa .hushlogin
25 in their home directories or through
26 .Xr login.conf 5 .
27 .Sh FILES
28 .Bl -tag -width $HOME/.hushlogin -compact
29 .It Pa /etc/motd
30 The message of the day.
31 .It Pa $HOME/.hushlogin
32 Suppresses output of
33 .Pa /etc/motd .
34 .El
35 .Sh EXAMPLES
36 .Bd -literal
37 FreeBSD 2.1.6.1-RELEASE (GENERIC) #0: Sun Dec 29 03:08:31 PST 1996
38
39 /home is full.  Please cleanup your directories.
40 .Ed
41 .Sh SEE ALSO
42 .Xr login 1 ,
43 .Xr login.conf 5