1 <?xml version="1.0" encoding='UTF-8'?>
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
5 <refentry id="pam_motd">
8 <refentrytitle>pam_motd</refentrytitle>
9 <manvolnum>8</manvolnum>
10 <refmiscinfo class="sectdesc">Linux-PAM Manual</refmiscinfo>
13 <refnamediv id="pam_motd-name">
14 <refname>pam_motd</refname>
15 <refpurpose>Display the motd file</refpurpose>
19 <cmdsynopsis id="pam_motd-cmdsynopsis">
20 <command>pam_motd.so</command>
22 motd=<replaceable>/path/filename</replaceable>
27 <refsect1 id="pam_motd-description">
29 <title>DESCRIPTION</title>
32 pam_motd is a PAM module that can be used to display
33 arbitrary motd (message of the day) files after a successful
34 login. By default the <filename>/etc/motd</filename> file is
35 shown. The message size is limited to 64KB.
40 <refsect1 id="pam_motd-options">
42 <title>OPTIONS</title>
46 <option>motd=<replaceable>/path/filename</replaceable></option>
50 The <filename>/path/filename</filename> file is displayed
51 as message of the day.
58 <refsect1 id="pam_motd-types">
59 <title>MODULE TYPES PROVIDED</title>
61 Only the <option>session</option> module type is provided.
65 <refsect1 id='pam_motd-return_values'>
66 <title>RETURN VALUES</title>
69 <term>PAM_IGNORE</term>
72 This is the only return value of this module.
79 <refsect1 id='pam_motd-examples'>
80 <title>EXAMPLES</title>
82 The suggested usage for <filename>/etc/pam.d/login</filename> is:
84 session optional pam_motd.so motd=/etc/motd
89 <refsect1 id='pam_motd-see_also'>
90 <title>SEE ALSO</title>
93 <refentrytitle>motd</refentrytitle><manvolnum>5</manvolnum>
96 <refentrytitle>pam.conf</refentrytitle><manvolnum>5</manvolnum>
99 <refentrytitle>pam.d</refentrytitle><manvolnum>5</manvolnum>
102 <refentrytitle>pam</refentrytitle><manvolnum>8</manvolnum>
107 <refsect1 id='pam_motd-author'>
108 <title>AUTHOR</title>
110 pam_motd was written by Ben Collins <bcollins@debian.org>.