Skip to contentSkip to conversation

shadow: fix pam configs for chpasswd, newusers

PATCH New [email protected] 1 participant 2 messages Nov 14, 2014

lore
Share & tools
lore
#0 lore raw

v2 cover shadow: fix pam configs for chpasswd, newusers

From: Wenzong Fan <[email protected]>

v2 changes:
* correct signature info

The following changes since commit edaeb8940813b620090a0797ad3b6a076897512d:

bitbake: cooker.py: fix loginfo op being set to an invalid value (2014-11-12 17:04:50 +0000)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib wenzong/shadow-pam
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=wenzong/shadow-pam

Hu (1):
shadow: fix pam configs for chpasswd, newusers

 meta/recipes-extended/shadow/files/pam.d/chpasswd |    2 ++
 meta/recipes-extended/shadow/files/pam.d/newusers |    2 ++
 2 files changed, 4 insertions(+)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH v2 1/1 shadow: fix pam configs for chpasswd, newusers

From: Hu <[email protected]>

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.

---
 meta/recipes-extended/shadow/files/pam.d/chpasswd |    2 ++
 meta/recipes-extended/shadow/files/pam.d/newusers |    2 ++
 2 files changed, 4 insertions(+)
meta/recipes-extended/shadow/files/pam.d/chpasswd +2 -0
index 9e3efa6..b769d92 100644
@@ -1,4 +1,6 @@
 # The PAM configuration file for the Shadow 'chpasswd' service
 #
 
+auth       sufficient   pam_rootok.so
+account    required     pam_permit.so
 password   include      common-password
meta/recipes-extended/shadow/files/pam.d/newusers +2 -0
index 4aa3dde..4c59dfa 100644
@@ -1,4 +1,6 @@
 # The PAM configuration file for the Shadow 'newusers' service
 #
 
+auth       sufficient   pam_rootok.so
+account    required     pam_permit.so
 password   include      common-password
Signature · 1 line
1.7.9.5