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: 341d80c2c7 ("Makefile: move chpasswd and newusers to pamd target")
Cc: Iker Pedrosa <ipedrosa@redhat.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
36 lines
551 B
Makefile
36 lines
551 B
Makefile
# This is a dummy Makefile.am to get automake work flawlessly,
|
|
# and also cooperate to make a distribution for `make dist'
|
|
|
|
pamd_files = \
|
|
chpasswd \
|
|
chfn \
|
|
chsh \
|
|
groupmems \
|
|
login \
|
|
newusers \
|
|
passwd
|
|
|
|
pamd_acct_tools_files = \
|
|
chage \
|
|
chpasswd \
|
|
groupadd \
|
|
groupdel \
|
|
groupmod \
|
|
useradd \
|
|
userdel \
|
|
usermod
|
|
|
|
if USE_PAM
|
|
pamddir = $(sysconfdir)/pam.d
|
|
pamd_DATA = $(pamd_files)
|
|
if ACCT_TOOLS_SETUID
|
|
pamd_DATA += $(pamd_acct_tools_files)
|
|
endif
|
|
endif
|
|
|
|
if WITH_SU
|
|
pamd_files += su
|
|
endif
|
|
|
|
EXTRA_DIST = $(pamd_files) $(pamd_acct_tools_files)
|