Re: Useradd: crypted passwords longer than 8 characters
Bryan Evenson
Lukasz,
toggle quoted message
Show quoted text
You can use the the EXTRA_USER_PARAMS variable in your image recipe: https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#ref-classes-extrausers. Both usermod and useradd take a plaintext password with the -P option, but I believe the password is then encrypted prior to being saved in /etc/shadow. Then you'll need to follow proper precautions to ensure your image recipe stays secret since it'd include the plaintext password. -Bryan -----Original Message----- |
|