Wind River Support Network

HomeDefectsLINCD-12114
Fixed

LINCD-12114 : [Target Installer] The user's administrator privileges are incorrectly configured

Created: Mar 25, 2023    Updated: Apr 27, 2023
Resolved Date: Apr 13, 2023
Found In Version: 10.23.13.0
Fix Version: 10.23.17.0
Severity: Standard
Applicable for: Wind River Linux CD
Component/s: Target Installer

Description

The installer can create a user with administrator privileges, but the user can't run command under sudo. 

Steps to Reproduce

Can be reproduced both on image based and package based installers,

$ setup.sh --machines=intel-x86-64 --distros=wrlinux --templates=feature/installer-support --layers meta-anaconda --dl-layers && source environment-setup-x86_64-wrlinuxsdk-linux

# target image
$ source oe-init-build-env build-target
$ bitbake wrlinux-image-std

# installer image
$ source oe-init-build-env build-installer
# append below configurations to local.conf
DISTRO = 'wrlinux-installer'
INSTALLER_TARGET_BUILD = "../build/tmp-glibc/deploy/images/intel-x86-64/wrlinux-image-std-intel-x86-64.ext4"

$ bitbake wrlinux-image-installer

# then run an installation and config "Create User" 
Live chat
Online