Wind River Support Network

HomeDefectsLIN1018-4940
Fixed

LIN1018-4940 : WRL LTS 18 shadow - relaxed usernames

Created: Sep 18, 2019    Updated: Oct 24, 2019
Resolved Date: Oct 14, 2019
Found In Version: 10.18.44.10
Fix Version: 10.18.44.11
Severity: Standard
Applicable for: Wind River Linux LTS 18
Component/s: Build & Config

Description

The 31c6c8150394de067085be5b0058037077860a8a oe-core commit applies only for class_target.
If the extrausers.bbclass class is used, the users are populated with package shadow-native which doesn't have 
the patch.

Steps to Reproduce

INHERIT += 'extrausers'
EXTRA_USERS_PARAMS += "useradd -p '' aBcD; "

 From log.do_rootfs:
NOTE: core-image-minimal: Performing useradd with [-R 
/media/pbergin/extssd/windriver/wrl18_std/build/tmp-glibc/work/qemux86_64-wrs-linux/core-image-minimal/1.0-r0/rootfs 
-p '' aBcD]
useradd: invalid user name 'aBcD'
ERROR: core-image-minimal: useradd command did not succeed.
Live chat
Online