xref: /dragonfly/share/man/man5/motd.5 (revision 37de577a)
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 March 17, 2009
8.Dt MOTD 5
9.Os
10.Sh NAME
11.Nm motd
12.Nd file containing message(s) of the day
13.Sh DESCRIPTION
14The file
15.Pa /etc/motd
16is normally displayed by
17.Xr login 1
18after a user has logged in but before the shell is run.
19It is generally used for important system-wide announcements.
20During system startup, a line containing the kernel version string is
21prepended to this file.
22.Pp
23Individual users may suppress the display of this file by
24creating a file named
25.Dq Pa .hushlogin
26in 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
31The message of the day.
32.It Pa $HOME/.hushlogin
33Suppresses output of
34.Pa /etc/motd .
35.El
36.Sh EXAMPLES
37.Bd -literal
38DragonFly 2.3-DEVELOPMENT (GENERIC) #0: Fri Mar 13 04:44:45 PST 2009
39
40/home is full.  Please cleanup your directories.
41.Ed
42.Sh SEE ALSO
43.Xr login 1 ,
44.Xr login.conf 5
45