.\" Title: pam_motd
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.73.1
.\" Date: 04/16/2008
.\" Manual: Linux-PAM Manual
.\" Source: Linux-PAM Manual
.\"
.TH "PAM_MOTD" "8" "04/16/2008" "Linux-PAM Manual" "Linux\-PAM Manual"
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.SH "NAME"
pam_motd - Display the motd file
.SH "SYNOPSIS"
.HP 12
\fBpam_motd\.so\fR [motd=\fI/path/filename\fR]
.SH "DESCRIPTION"
.PP
pam_motd is a PAM module that can be used to display arbitrary motd (message of the day) files after a succesful login\. By default the
\fI/etc/motd\fR
file is shown\. The message size is limited to 64KB\.
.SH "OPTIONS"
.PP
\fBmotd=\fR\fB\fI/path/filename\fR\fR
.RS 4
The
\fI/path/filename\fR
file is displayed as message of the day\.
.RE
.SH "MODULE SERVICES PROVIDED"
.PP
Only the
\fBsession\fR
service is supported\.
.SH "RETURN VALUES"
.PP
PAM_IGNORE
.RS 4
This is the only return value of this module\.
.RE
.SH "EXAMPLES"
.PP
The suggested usage for
\fI/etc/pam\.d/login\fR
is:
.sp
.RS 4
.nf
session optional pam_motd\.so motd=/etc/motd
.fi
.RE
.sp
.SH "SEE ALSO"
.PP
\fBmotd\fR(5),
\fBpam.conf\fR(5),
\fBpam.d\fR(8),
\fBpam\fR(8)
.SH "AUTHOR"
.PP
pam_motd was written by Ben Collins \.