Adding user via Yocto Image


I’m trying to add a new user and password via the yocto image route. I have successfully been able to set the default password for the root user, but I’d like to have a more restricted user. Anytime I build the yocto image and flash it to the WP7611, I’m not able to see the updated user. I followed this thread for some reference:Bitbake recipe for adding new user

I do see the users added in this file in my linux build machine: yocto/build_bin/tmp/work/swi_mdm9x28_wp-poky-linux-gnueabi/mdm9x28-image-minimal/1.0-r0.0/rootfs/etc/passwd


But after flashing the image to the system, the passwd file doesn’t have this anymore. I’ve also tried resetting the system to factory default before flashing and that didn’t help either. Anyone have any other thoughts?