1PAM_MOTD(8) Linux-PAM Manual PAM_MOTD(8)
2
3
4
6 pam_motd - Display the motd file
7
9 pam_motd.so [motd=/path/filename]
10
12 pam_motd is a PAM module that can be used to display arbitrary motd
13 (message of the day) files after a succesful login. By default the
14 /etc/motd file is shown. The message size is limited to 64KB.
15
17 motd=/path/filename
18 The /path/filename file is displayed as message of the day.
19
21 Only the session service is supported.
22
24 PAM_IGNORE
25 This is the only return value of this module.
26
28 The suggested usage for /etc/pam.d/login is:
29
30 session optional pam_motd.so motd=/etc/motd
31
32
33
35 motd(5), pam.conf(5), pam.d(8), pam(8)
36
38 pam_motd was written by Ben Collins <bcollins@debian.org>.
39
40
41
42Linux-PAM Manual 10/26/2006 PAM_MOTD(8)