aboutsummaryrefslogtreecommitdiffstats
path: root/community/shadow/chpasswd.pamd
diff options
context:
space:
mode:
authorAntoine Mazeas <antoine@karthanis.net>2019-04-23 22:38:18 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2019-05-27 19:35:20 +0200
commitcfdf5452f1c90db2c8c1f710134e3127506e1a54 (patch)
tree3627ea5ed00f87336c5b742ffb915366e26c3fe7 /community/shadow/chpasswd.pamd
parentd5dd5c1cd07c3de03ff7f39175a8a2a36215bd4c (diff)
downloadaports-cfdf5452f1c90db2c8c1f710134e3127506e1a54.tar.gz
aports-cfdf5452f1c90db2c8c1f710134e3127506e1a54.tar.bz2
aports-cfdf5452f1c90db2c8c1f710134e3127506e1a54.tar.xz
community/shadow: fix broken chpasswd
It was found in bug #10209 (https://bugs.alpinelinux.org/issues/10209) that the chpasswd command was broken due to a lack of a pam configuration file. This is a backport of PR#6980 by @bratkartoffel, targetting the 3.9 branch.
Diffstat (limited to 'community/shadow/chpasswd.pamd')
-rw-r--r--community/shadow/chpasswd.pamd3
1 files changed, 3 insertions, 0 deletions
diff --git a/community/shadow/chpasswd.pamd b/community/shadow/chpasswd.pamd
new file mode 100644
index 0000000000..e2d392f4ef
--- /dev/null
+++ b/community/shadow/chpasswd.pamd
@@ -0,0 +1,3 @@
+auth sufficient pam_rootok.so
+account include base-account
+password include base-password