Using usermod -P in EXTRA_USERS_PARAMS as stated in the documentation [1] causes a "usermod: prefix must be an absolute path" build error. The -P option was being added by an OE-specific patch to shadow that was dropped when it was last upgraded. Now -P corresponds to the usermod prefix option. Plain password cannot be provided via -P anymore and must be provided via -p with a hashed value computed for example with mkpasswd -m sha512crypt (making sure $ is escaped). [1] https://docs.yoctoproject.org/singleindex.html#extrausers-bbclass
Diane will submit a patch for this.
https://git.yoctoproject.org/cgit/cgit.cgi/yocto-docs/commit/?id=3f3e5574ac9801ad92940168b61b532e0bd53a80
Since [1] a clear password cannot be set any longer. [1] http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-extended/shadow?id=087070bf2156681bd6a5b3bac89f9712545a6768
Closed with https://github.com/openembedded/openembedded-core/commit/3f9153986e4e6f667b4bbe97613ec0b279665a97