diff options
author | Stefan Schubert <schubi@suse.de> | 2023-01-25 10:09:01 +0100 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2023-01-27 13:40:14 +0000 |
commit | b392552522524f6bac9c01d469f33e87971dbe0f (patch) | |
tree | 9950cf2ad9638a29db149c13f74a53233ab8b138 /libpam/pam_handlers.c | |
parent | daec232978b1c4bfffe220839e0bfbb910723bbb (diff) | |
download | pam-b392552522524f6bac9c01d469f33e87971dbe0f.tar.gz pam-b392552522524f6bac9c01d469f33e87971dbe0f.tar.bz2 pam-b392552522524f6bac9c01d469f33e87971dbe0f.zip |
pam_pwhistory: use vendor specific pwhistory.conf as fallback
Use the vendor directory defined by --enable-vendordir=DIR configure
option as fallback for the distribution provided default config file
if there is no configuration in /etc.
* modules/pam_pwhistory/pam_pwhistory.8.xml: Describe pwhistory.conf
* modules/pam_pwhistory/pwhistory_config.c [VENDOR_SCONFIGDIR]
(VENDOR_PWHISTORY_DEFAULT_CONF): New macro.
(parse_config_file) [VENDOR_PWHISTORY_DEFAULT_CONF]: Try to open
VENDOR_PWHISTORY_DEFAULT_CONF if PWHISTORY_DEFAULT_CONF file does not
exist.
Diffstat (limited to 'libpam/pam_handlers.c')
0 files changed, 0 insertions, 0 deletions