]> granicus.if.org Git - linux-pam/commit
pam_motd: add support for a motd.d directory (#48)
authorAllison Karlitskaya <allison.karlitskaya@redhat.com>
Wed, 16 May 2018 12:44:41 +0000 (14:44 +0200)
committerTomáš Mráz <t8m@users.noreply.github.com>
Wed, 16 May 2018 12:44:41 +0000 (14:44 +0200)
commit9532d85871990d41ccd3d851fff10386a4925270
treee91d7a8b1e8ab371393bb19fb308521030ff83de
parent042a387924acb3f7dd36ec48f123127500ceca8f
pam_motd: add support for a motd.d directory (#48)

Add a new feature to pam_motd to allow packages to install their own
message files in a "motd.d" directory, to be displayed after the primary
motd.

Add an option motd_d= to specify the location of this directory.

Modify the defaults, in the case where no options are given, to display
both /etc/motd and /etc/motd.d.

Fixes #47

 * modules/pam_motd/pam_motd.c: add support for motd.d
 * modules/pam_motd/pam_motd.8.xml: update the manpage
modules/pam_motd/pam_motd.8.xml
modules/pam_motd/pam_motd.c