]> 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>
Tue, 29 May 2018 20:06:03 +0000 (21:06 +0100)
commitf6efc1dbd1f3a0f68ee731ff2b5a5d798ecf2cf8
tree7eb1d73a9b3f00e402b8d4bb314e0bb002969025
parent978309270afc0e3d3fd9c46f68ddf28db99d7416
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.

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>
meta/recipes-extended/shadow/files/pam.d/chpasswd
meta/recipes-extended/shadow/files/pam.d/newusers