Wind River Support Network

HomeDefectsLIN1018-6476
Fixed

LIN1018-6476 : libpam password change error log

Created: Jul 17, 2020    Updated: Aug 10, 2020
Resolved Date: Jul 30, 2020
Found In Version: unknown
Fix Version: 10.18.44.18
Severity: Standard
Applicable for: Wind River Linux LTS 18
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]

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