Hello,
I try to create new users in my project but cannot see them on the target.
I declared the rules like that:
inherit useradd
USERADD_PACKAGES = "${PN}"
GROUPADD_PACKAGES = "${PN}"
GROUPADD_PARAM_${PN} = "configuration"
USERADD_PARAM_${PN} = "-d /tmp -G configuration blackbox; -m -d /tmp -s /usr/sbin/generate_config.sh -G configuration -p wtmoOHy.mTsUk technicien"
I’ve declared my recipe in /home/xool/yocto/meta-swi/meta-swi-mdm9x15/recipes-core/images/mdm9x15-image.inc
.
So I find a passwd
file with the expected users in /home/xool/yocto/build_bin/tmp/work/swi_mdm9x15-poky-linux-gnueabi/mdm9x15-image-minimal/1.0-r0.0/rootfs/etc
, same for group
about the groups I create.
Is it the right place ?
Anyway, once on the target, I find my users in /etc/shadow
but nothing in /etc/passwd
nor in /etc/group
.
Why?
Al