diff options
author | Iker Pedrosa <ipedrosa@redhat.com> | 2022-07-08 11:33:03 +0200 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2022-07-15 08:00:00 +0000 |
commit | ba2f6dd8b81ea2a58262c1709bec906b6852591d (patch) | |
tree | 92db271cb8824cc786c4ae41600fe0257bc68fca /modules/pam_unix/unix_chkpwd.c | |
parent | 37c8403dbefe9b0f1cb22b1a96c30d926fd568c8 (diff) | |
download | pam-ba2f6dd8b81ea2a58262c1709bec906b6852591d.tar.gz pam-ba2f6dd8b81ea2a58262c1709bec906b6852591d.tar.bz2 pam-ba2f6dd8b81ea2a58262c1709bec906b6852591d.zip |
pam_pwhistory: load config from file
* modules/pam_pwhistory/pam_pwhistory.c: Load config from file and
provide new conf option to select the file.
* modules/pam_pwhistory/pwhistory_config.c: Parse config from file and
load to options structure.
* modules/pam_pwhistory/pwhistory_config.h: Move options_t structure and
define parse_config_file().
* modules/pam_pwhistory/Makefile.am (noinst_HEADERS): Add pwhistory_config.h.
(pam_pwhistory_la_SOURCES): Add pwhistory_config.c.
(dist_secureconf_DATA): Add pwhistory.conf.
* modules/pam_pwhistory/pwhistory.conf: New configuration file.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2068461
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
Diffstat (limited to 'modules/pam_unix/unix_chkpwd.c')
0 files changed, 0 insertions, 0 deletions