Install pam configs for chpasswd and newusers when using:
$ ./configure --with-libpam --disable-account-tools-setuid
Closes: <https://github.com/shadow-maint/shadow/issues/810>
Link: <https://github.com/shadow-maint/shadow/pull/928>
Tested-by: David Runge <dvzrv@archlinux.org>
Cherry-picked-from:
341d80c2c751 ("Makefile: move chpasswd and newusers to pamd target")
Cc: Iker Pedrosa <ipedrosa@redhat.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
# and also cooperate to make a distribution for `make dist'
pamd_files = \
+ chpasswd \
chfn \
chsh \
groupmems \
login \
+ newusers \
passwd
pamd_acct_tools_files = \
chage \
- chgpasswd \
chpasswd \
groupadd \
groupdel \
groupmod \
- newusers \
useradd \
userdel \
usermod