From 10b83ef224a5e9c3e2663b3f08dd17090acc58ab Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Wed, 25 Mar 2015 15:00:38 +0100 Subject: Support alternative "vendor configuration" files as fallback to /etc (Ticket#34, patch from ay Sievers ) * doc/man/pam.8.xml: document additonal config directory * libpam/pam_handlers.c: add /usr/lib/pam.d as config file fallback directory * libpam/pam_private.h: adjust defines --- doc/man/pam.8.xml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'doc/man') diff --git a/doc/man/pam.8.xml b/doc/man/pam.8.xml index 1267f01c..d36baae8 100644 --- a/doc/man/pam.8.xml +++ b/doc/man/pam.8.xml @@ -52,6 +52,14 @@ /etc/pam.conf. + + Vendor-supplied PAM configuration files might be installed in + the system directory /usr/lib/pam.d/ instead + of the machine configuration directory /etc/pam.d/. + If no machine configuration file is found, the vendor-supplied file + is used. All files in /etc/pam.d/ override + files with the same name in /usr/lib/pam.d/. + From the point of view of the system administrator, for whom this manual is provided, it is not of primary importance to understand the @@ -140,6 +148,16 @@ closing hook for modules to affect the services available to a user. + + /usr/lib/pam.d + + + the Linux-PAM vendor configuration + directory. Files in /etc/pam.d override + files with the same name in this directory. + + + -- cgit v1.2.3