summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorloqs <loqs@users.noreply.github.com>2024-01-26 12:41:09 +0000
committerAlejandro Colomar <alx@kernel.org>2024-01-30 22:14:53 +0100
commitbc2cc1106d69e15d77aa9876c6834f9c7772532e (patch)
tree91ec87e9bee071b5c0a5ec31531668d0280b9cc0
parentf630203ed859effcb488170f86667244201b90eb (diff)
Makefile: Move chpasswd and newusers to pamd target
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>
-rw-r--r--etc/pam.d/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/pam.d/Makefile.am b/etc/pam.d/Makefile.am
index 38ff26ae..3d04b13c 100644
--- a/etc/pam.d/Makefile.am
+++ b/etc/pam.d/Makefile.am
@@ -2,20 +2,20 @@
# 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