Re: [yocto] Useradd: crypted passwords longer than 8 characters

2019-10-21 Thread Bryan Evenson
, October 21, 2019 12:15 PM > To: Lukasz Zemla ; yocto@yoctoproject.org > Subject: Re: [yocto] Useradd: crypted passwords longer than 8 characters > > Crypt the password yourself and pass it in to the adduser command. > > --Mark > > On 10/21/19 10:25 AM, Lukasz Zemla wrot

Re: [yocto] Useradd: crypted passwords longer than 8 characters

2019-10-21 Thread Mark Hatle
Crypt the password yourself and pass it in to the adduser command. --Mark On 10/21/19 10:25 AM, Lukasz Zemla wrote: > 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 >

[yocto] Useradd: crypted passwords longer than 8 characters

2019-10-21 Thread Lukasz Zemla
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