* [PATCH 0/1] shadow: fix pam configs for chpasswd, newusers
@ 2014-10-22 5:19 wenzong.fan
2014-10-22 5:19 ` [PATCH 1/1] " wenzong.fan
2014-10-24 9:19 ` [PATCH 0/1] " wenzong fan
0 siblings, 2 replies; 3+ messages in thread
From: wenzong.fan @ 2014-10-22 5:19 UTC (permalink / raw)
To: openembedded-core
From: Wenzong Fan <wenzong.fan@windriver.com>
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(+)
--
1.7.9.5
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/1] shadow: fix pam configs for chpasswd, newusers
2014-10-22 5:19 [PATCH 0/1] shadow: fix pam configs for chpasswd, newusers wenzong.fan
@ 2014-10-22 5:19 ` wenzong.fan
2014-10-24 9:19 ` [PATCH 0/1] " wenzong fan
1 sibling, 0 replies; 3+ messages in thread
From: wenzong.fan @ 2014-10-22 5:19 UTC (permalink / raw)
To: openembedded-core
From: Wenzong Fan <wenzong.fan@windriver.com>
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: Wenzong Fan <wenzong.fan@windriver.com>
---
meta/recipes-extended/shadow/files/pam.d/chpasswd | 2 ++
meta/recipes-extended/shadow/files/pam.d/newusers | 2 ++
2 files changed, 4 insertions(+)
diff --git a/meta/recipes-extended/shadow/files/pam.d/chpasswd b/meta/recipes-extended/shadow/files/pam.d/chpasswd
index 9e3efa6..b769d92 100644
--- a/meta/recipes-extended/shadow/files/pam.d/chpasswd
+++ b/meta/recipes-extended/shadow/files/pam.d/chpasswd
@@ -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
diff --git a/meta/recipes-extended/shadow/files/pam.d/newusers b/meta/recipes-extended/shadow/files/pam.d/newusers
index 4aa3dde..4c59dfa 100644
--- a/meta/recipes-extended/shadow/files/pam.d/newusers
+++ b/meta/recipes-extended/shadow/files/pam.d/newusers
@@ -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
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 0/1] shadow: fix pam configs for chpasswd, newusers
2014-10-22 5:19 [PATCH 0/1] shadow: fix pam configs for chpasswd, newusers wenzong.fan
2014-10-22 5:19 ` [PATCH 1/1] " wenzong.fan
@ 2014-10-24 9:19 ` wenzong fan
1 sibling, 0 replies; 3+ messages in thread
From: wenzong fan @ 2014-10-24 9:19 UTC (permalink / raw)
To: openembedded-core
Drop the patch - Mistaken Signatures.
Wenzong
On 10/22/2014 01:19 PM, wenzong.fan@windriver.com wrote:
> From: Wenzong Fan <wenzong.fan@windriver.com>
>
> 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(+)
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-10-24 9:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-22 5:19 [PATCH 0/1] shadow: fix pam configs for chpasswd, newusers wenzong.fan
2014-10-22 5:19 ` [PATCH 1/1] " wenzong.fan
2014-10-24 9:19 ` [PATCH 0/1] " wenzong fan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox