summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-apps/shadow/files/pam.d-include/chpasswd3
-rw-r--r--sys-apps/shadow/shadow-4.8-r4.ebuild (renamed from sys-apps/shadow/shadow-4.8-r3.ebuild)4
-rw-r--r--sys-apps/shadow/shadow-4.8.1-r2.ebuild (renamed from sys-apps/shadow/shadow-4.8.1-r1.ebuild)4
3 files changed, 11 insertions, 0 deletions
diff --git a/sys-apps/shadow/files/pam.d-include/chpasswd b/sys-apps/shadow/files/pam.d-include/chpasswd
new file mode 100644
index 00000000000..1043726b0e5
--- /dev/null
+++ b/sys-apps/shadow/files/pam.d-include/chpasswd
@@ -0,0 +1,3 @@
+#%PAM-1.0
+
+password include system-auth
diff --git a/sys-apps/shadow/shadow-4.8-r3.ebuild b/sys-apps/shadow/shadow-4.8-r4.ebuild
index 54f1a3d52e8..7dbee719cd4 100644
--- a/sys-apps/shadow/shadow-4.8-r3.ebuild
+++ b/sys-apps/shadow/shadow-4.8-r4.ebuild
@@ -152,6 +152,10 @@ src_install() {
newpamd "${FILESDIR}"/pam.d-include/passwd ${x}
done
+ for x in chpasswd newusers ; do
+ newpamd "${FILESDIR}"/pam.d-include/chpasswd ${x}
+ done
+
newpamd "${FILESDIR}"/pam.d-include/shadow-r1 groupmems
# comment out login.defs options that pam hates
diff --git a/sys-apps/shadow/shadow-4.8.1-r1.ebuild b/sys-apps/shadow/shadow-4.8.1-r2.ebuild
index 864ebb3923b..65f9a6539c8 100644
--- a/sys-apps/shadow/shadow-4.8.1-r1.ebuild
+++ b/sys-apps/shadow/shadow-4.8.1-r2.ebuild
@@ -152,6 +152,10 @@ src_install() {
newpamd "${FILESDIR}"/pam.d-include/passwd ${x}
done
+ for x in chpasswd newusers ; do
+ newpamd "${FILESDIR}"/pam.d-include/chpasswd ${x}
+ done
+
newpamd "${FILESDIR}"/pam.d-include/shadow-r1 groupmems
# comment out login.defs options that pam hates