aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_faillock
diff options
context:
space:
mode:
authorStefan Schubert <schubi@suse.de>2021-12-09 15:19:29 +0100
committerDmitry V. Levin <ldv@altlinux.org>2022-01-25 14:24:26 +0000
commitc11b0f5d8f9f6abcc76594af9e3b5e647b19f61f (patch)
treea5c4bb2b95ee796fc85719715d8662235d37965b /modules/pam_faillock
parent4d96b59360a57a7a96443e6c34d2cfd13ea3f5e3 (diff)
downloadpam-c11b0f5d8f9f6abcc76594af9e3b5e647b19f61f.tar.gz
pam-c11b0f5d8f9f6abcc76594af9e3b5e647b19f61f.tar.bz2
pam-c11b0f5d8f9f6abcc76594af9e3b5e647b19f61f.zip
pam_group: use vendor specific group.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_group/pam_group.c: Include <errno.h>. [VENDOR_SCONFIGDIR] (VENDOR_PAM_GROUP_CONF): New macro. (read_field): Add conf_filename argument, use it instead of PAM_GROUP_CONF. (check_account) <conf_filename>: New variable, initialize it to PAM_GROUP_CONF, pass it to read_field(). [VENDOR_PAM_GROUP_CONF]: Assign VENDOR_PAM_GROUP_CONF to conf_filename when PAM_GROUP_CONF file does not exist. * modules/pam_group/pam_group.8.xml: Describe it. Co-authored-by: Dmitry V. Levin <ldv@altlinux.org> Resolves: https://github.com/linux-pam/linux-pam/pull/412
Diffstat (limited to 'modules/pam_faillock')
0 files changed, 0 insertions, 0 deletions