]> code.ossystems Code Review - openembedded-core.git/commit
shadow: fix pam configs for chpasswd, newusers
authoryadi.hu@windriver.com <yadi.hu@windriver.com>
Fri, 25 May 2018 02:48:10 +0000 (10:48 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 2 Jul 2018 09:40:32 +0000 (10:40 +0100)
commit67a504e3bfa8272c0ced9caf98e38896c576e3b8
tree13a00fa1aa1c3284e40343ae0cc7115f0aaa88c2
parentf2893771f49737ef9a26cf1875ad2fba00f92139
shadow: fix pam configs for chpasswd, newusers

Fix below errors while pam is enabled on target:

  root@qemux86:~# newusers
  newusers: PAM: Authentication failure
  root@qemux86:~# chpasswd
  chpasswd: PAM: Authentication failure

The configs copied from "chgpasswd" which command works with pam.

(From OE-Core rev: f6efc1dbd1f3a0f68ee731ff2b5a5d798ecf2cf8)

Signed-off-by: Hu <yadi.hu@windriver.com>
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-extended/shadow/files/pam.d/chpasswd
meta/recipes-extended/shadow/files/pam.d/newusers