What is the best way in Yocto (warrior) to add crypted password to /etc/shadow during buildtime?
Using useradd.bbclass in a standard way we may add only passwords <= 8 characters. "-p" parameterr followed by the output of "openssl passwd -crypt pAsswOrd" works fine. I thought that class may be cheated by providing after "-p" string returned by "openssl passwd -6 verylongpAsswOrd", but it does not work: the password in /etc/shadow file is truncated: myuser:/D163GofCVEpMgZ.w2Ro3Z.b5S8XT1:18190:0:99999:7::: Any suggestions? Thank you in advance. Lukasz Zemla *** The information in this email is confidential and intended solely for the individual or entity to whom it is addressed. If you have received this email in error please notify the sender by return e-mail, delete this email, and refrain from any disclosure or action based on the information. *** -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto