diff options
author | Thorsten Kukuk <kukuk@thkukuk.de> | 2015-03-25 15:00:38 +0100 |
---|---|---|
committer | Thorsten Kukuk <kukuk@thkukuk.de> | 2015-03-25 15:00:38 +0100 |
commit | 10b83ef224a5e9c3e2663b3f08dd17090acc58ab (patch) | |
tree | 82a9a446b061cb90384bc195478e1383c83a53ee /libpam/pam_private.h | |
parent | 73bdfac8c091492f466342feb8f2f5daa2f4c39b (diff) | |
download | pam-10b83ef224a5e9c3e2663b3f08dd17090acc58ab.tar.gz pam-10b83ef224a5e9c3e2663b3f08dd17090acc58ab.tar.bz2 pam-10b83ef224a5e9c3e2663b3f08dd17090acc58ab.zip |
Support alternative "vendor configuration" files as fallback to /etc
(Ticket#34, patch from ay Sievers <kay@vrfy.org>)
* 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
Diffstat (limited to 'libpam/pam_private.h')
-rw-r--r-- | libpam/pam_private.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libpam/pam_private.h b/libpam/pam_private.h index d93283ce..11382774 100644 --- a/libpam/pam_private.h +++ b/libpam/pam_private.h @@ -24,12 +24,13 @@ /* the Linux-PAM configuration file */ -#define PAM_CONFIG "/etc/pam.conf" -#define PAM_CONFIG_D "/etc/pam.d" -#define PAM_CONFIG_DF "/etc/pam.d/%s" +#define PAM_CONFIG "/etc/pam.conf" +#define PAM_CONFIG_D "/etc/pam.d" +#define PAM_CONFIG_DF "/etc/pam.d/%s" +#define PAM_CONFIG_DIST_D "/usr/lib/pam.d" +#define PAM_CONFIG_DIST_DF "/usr/lib/pam.d/%s" #define PAM_DEFAULT_SERVICE "other" /* lower case */ -#define PAM_DEFAULT_SERVICE_FILE PAM_CONFIG_D "/" PAM_DEFAULT_SERVICE #ifdef PAM_LOCKING /* |