Sync BSD family tree with FreeBSD.
[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 .\" $DragonFly: src/share/man/man5/motd.5,v 1.2 2003/06/17 04:37:00 dillon Exp $
6 .\"
7 .Dd February 13, 1997
8 .Dt MOTD 5
9 .Os
10 .Sh NAME
11 .Nm motd
12 .Nd file containing message(s) of the day
13 .Sh DESCRIPTION
14 The file
15 .Pa /etc/motd
16 is normally displayed by
17 .Xr login 1
18 after a user has logged in but before the shell is run.
19 It is generally used for important system-wide announcements.
20 During system startup, a line containing the kernel version string is
21 prepended to this file.
22 .Pp
23 Individual users may suppress the display of this file by
24 creating a file named
25 .Dq Pa .hushlogin
26 in their home directories or through
27 .Xr login.conf 5 .
28 .Sh FILES
29 .Bl -tag -width $HOME/.hushlogin -compact
30 .It Pa /etc/motd
31 The message of the day.
32 .It Pa $HOME/.hushlogin
33 Suppresses output of
34 .Pa /etc/motd .
35 .El
36 .Sh EXAMPLES
37 .Bd -literal
38 FreeBSD 2.1.6.1-RELEASE (GENERIC) #0: Sun Dec 29 03:08:31 PST 1996
39
40 /home is full.  Please cleanup your directories.
41 .Ed
42 .Sh SEE ALSO
43 .Xr login 1 ,
44 .Xr login.conf 5