Skip to contentSkip to conversation

shadow: fix pam configs for chpasswd, newusers

PATCH Superseded [email protected] 1 participant 3 messages Oct 22, 2014 – Oct 24, 2014

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover shadow: fix pam configs for chpasswd, newusers

From: Wenzong Fan <[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.

The following changes since commit 924da20c6f2f183fa7e930e4c3c6b14c090acbe5:

build-appliance-image: Update to dizzy head revision (2014-10-18 16:16:38 +0200)

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

Wenzong Fan (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 1/1 shadow: fix pam configs for chpasswd, newusers

From: Wenzong Fan <[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
#2 lore raw
In reply to [email protected]

Drop the patch - Mistaken Signatures.

Wenzong

Quoted 27 lines · On 10/22/2014 01:19 PM, [email protected] wrote:

From: Wenzong Fan <[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.

The following changes since commit 924da20c6f2f183fa7e930e4c3c6b14c090acbe5:

   build-appliance-image: Update to dizzy head revision (2014-10-18 16:16:38 +0200)

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

Wenzong Fan (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(+)