diff options
author | Stefan Schubert <schubi@suse.de> | 2021-12-03 15:56:49 +0100 |
---|---|---|
committer | Thorsten Kukuk <5908016+thkukuk@users.noreply.github.com> | 2022-02-08 09:13:00 +0100 |
commit | 89054484253e29a7a74c6326cf07c74ce4f2f192 (patch) | |
tree | 2b6c80d5b5ff678768e35821f124500be5f2b981 /README-hacking | |
parent | b68ce3d7c634bf9581aa90195abe5124a799d795 (diff) | |
download | pam-89054484253e29a7a74c6326cf07c74ce4f2f192.tar.gz pam-89054484253e29a7a74c6326cf07c74ce4f2f192.tar.bz2 pam-89054484253e29a7a74c6326cf07c74ce4f2f192.zip |
pam_time: use vendor specific time.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_time/pam_time.8.xml: Describe this.
* modules/pam_time/time.h [VENDOR_SCONFIGDIR] (VENDOR_PAM_TIME_CONF):
New macro.
* modules/pam_time/pam_time.c (_pam_parse) [VENDOR_PAM_TIME_CONF]:
Try to open VENDOR_PAM_TIME_CONF file when no conffile= option was
specified and PAM_TIME_CONF file does not exist.
Co-authored-by: Dmitry V. Levin <ldv@altlinux.org>
Resolves: https://github.com/linux-pam/linux-pam/pull/409
Diffstat (limited to 'README-hacking')
0 files changed, 0 insertions, 0 deletions