diff options
author | Stefan Schubert <schubi@suse.de> | 2021-12-08 14:28:18 +0100 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2022-01-24 08:00:00 +0000 |
commit | 4d96b59360a57a7a96443e6c34d2cfd13ea3f5e3 (patch) | |
tree | 712df9ce5bce70a508d00f2c63a442a4f4398a97 /modules/pam_group | |
parent | 7ea1119a382ca07a9a60ee2044c49eefbb87de9c (diff) | |
download | pam-4d96b59360a57a7a96443e6c34d2cfd13ea3f5e3.tar.gz pam-4d96b59360a57a7a96443e6c34d2cfd13ea3f5e3.tar.bz2 pam-4d96b59360a57a7a96443e6c34d2cfd13ea3f5e3.zip |
pam_sepermit: use vendor specific sepermit.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_sepermit/pam_sepermit.c [VENDOR_SCONFIGDIR]
(SEPERMIT_VENDOR_CONF_FILE): New macro.
(pam_sm_authenticate) [SEPERMIT_VENDOR_CONF_FILE]: Use it as default
config file when conf= option is not specified and the file pointed
by SEPERMIT_CONF_FILE does not exist.
* modules/pam_sepermit/pam_sepermit.8.xml: Describe it.
Co-authored-by: Dmitry V. Levin <ldv@altlinux.org>
Resolves: https://github.com/linux-pam/linux-pam/pull/411
Diffstat (limited to 'modules/pam_group')
0 files changed, 0 insertions, 0 deletions