Wind River Support Network

HomeDefectsLIN9-10051
Fixed

LIN9-10051 : libpam password change error log

Created: Jun 15, 2020    Updated: Aug 20, 2020
Resolved Date: Jul 30, 2020
Found In Version: unknown
Fix Version: 9.0.0.26
Severity: Standard
Applicable for: Wind River Linux 9
Component/s: Userspace

Description

By default this file /etc/pam.d/common-password has this conf for password change:

password [success=1 default=ignore] pam_unix.so *obscure* sha512

However the Journal shows that Obscure is not parsed as an argument. What Obscure does is to set some extra simple checks to the password.

The reason is the fetch libpam package is missing the patches to setup Obscure.

As a comparison point, download this tarball, contrast it with WR's platform project, and notice the patches with Obscure source file, its methods, and argument definition for PAM Unix module.
 [https://bazaar.launchpad.net/~ubuntu-core-dev/pam/ubuntu/revision/907?start_revid=907]

PD. This is affecting all releases.

Steps to Reproduce

./wrlinux/configure --enable-board=qemuppc --enable-rootfs=glibc-small  --enable-reconfig

make

make start-target TOPTS="-in 45"

passwd
 journalctl -f
Live chat
Online