summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/pam_motd/README2
-rw-r--r--modules/pam_motd/pam_motd.816
-rw-r--r--modules/pam_motd/pam_motd.8.xml2
3 files changed, 12 insertions, 8 deletions
diff --git a/modules/pam_motd/README b/modules/pam_motd/README
index 74947dac..414ad6f6 100644
--- a/modules/pam_motd/README
+++ b/modules/pam_motd/README
@@ -18,7 +18,7 @@ EXAMPLES
The suggested usage for /etc/pam.d/login is:
-session optoinal pam_motd.so motd=/etc/motd
+session optional pam_motd.so motd=/etc/motd
AUTHOR
diff --git a/modules/pam_motd/pam_motd.8 b/modules/pam_motd/pam_motd.8
index 62fad5bc..74bfb586 100644
--- a/modules/pam_motd/pam_motd.8
+++ b/modules/pam_motd/pam_motd.8
@@ -1,11 +1,11 @@
.\" Title: pam_motd
.\" Author:
-.\" Generator: DocBook XSL Stylesheets v1.70.1 <http://docbook.sf.net/>
-.\" Date: 06/03/2006
+.\" Generator: DocBook XSL Stylesheets v1.71.0 <http://docbook.sf.net/>
+.\" Date: 10/26/2006
.\" Manual: Linux\-PAM Manual
.\" Source: Linux\-PAM Manual
.\"
-.TH "PAM_MOTD" "8" "06/03/2006" "Linux\-PAM Manual" "Linux\-PAM Manual"
+.TH "PAM_MOTD" "8" "10/26/2006" "Linux\-PAM Manual" "Linux\-PAM Manual"
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
@@ -21,20 +21,24 @@ pam_motd is a PAM module that can be used to display arbitrary motd (message of
\fI/etc/motd\fR
file is shown. The message size is limited to 64KB.
.SH "OPTIONS"
-.TP 3n
+.PP
\fBmotd=\fR\fB\fI/path/filename\fR\fR
+.RS 3n
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"
-.TP 3n
+.PP
PAM_IGNORE
+.RS 3n
This is the only return value of this module.
+.RE
.SH "EXAMPLES"
.PP
The suggested usage for
@@ -43,7 +47,7 @@ is:
.sp
.RS 3n
.nf
-session optoinal pam_motd.so motd=/etc/motd
+session optional pam_motd.so motd=/etc/motd
.fi
.RE
diff --git a/modules/pam_motd/pam_motd.8.xml b/modules/pam_motd/pam_motd.8.xml
index 3b60a96b..7bd6798c 100644
--- a/modules/pam_motd/pam_motd.8.xml
+++ b/modules/pam_motd/pam_motd.8.xml
@@ -81,7 +81,7 @@
<para>
The suggested usage for <filename>/etc/pam.d/login</filename> is:
<programlisting>
-session optoinal pam_motd.so motd=/etc/motd
+session optional pam_motd.so motd=/etc/motd
</programlisting>
</para>
</refsect1>