Wind River Support Network


LIN6-2552 : wrlinux 5.0.1 - have packages user the long useradd system parameter and user-group

Created: Oct 7, 2013    Updated: Dec 3, 2018
Resolved Date: Dec 19, 2013
Previous ID: LIN5-7066
Found In Version: 6.0
Fix Version:
Severity: Severe
Applicable for: Wind River Linux 6
Component/s: Userspace


in wrlinux 5.0.1 it would be good to add the --user-group parameter to the packages that create user groups for better visibility.

in nfs-utils's case, it should be

USERADD_PARAM_${PN}-client = "--system -d /var/lib/nfs s /bin/false
--user-group rpcuser"

similar to that can be viewed as a reference:
 32 inherit useradd update-rc.d update-alternatives
 34 USERADD_PACKAGES = "${PN}-sshd"
 35 USERADD_PARAM_${PN}-sshd = "--system --no-create-home --home-dir
/var/run/sshd --shell /bin/false --user-group sshd"

Steps to Reproduce

check bbappend files for various packages

Other Downloads

Live chat