Re: [yocto] extrausers-bbclass: plaintext password (since shadow update to 4.9)

2021-08-31 Thread Matthias Klein
Hello Peter, thanks for the solution! Many greetings, Matthias -Ursprüngliche Nachricht- Von: Peter Bergin Gesendet: Dienstag, 31. August 2021 09:45 An: Matthias Klein ; yocto@lists.yoctoproject.org Betreff: Re: [yocto] extrausers-bbclass: plaintext password (since shadow update

Re: [yocto] extrausers-bbclass: plaintext password (since shadow update to 4.9)

2021-08-31 Thread Peter Bergin
Hi Matthias, On 2021-08-31 09:03, Matthias Klein wrote: But I have not found a way to set the password with EXTRA_USERS_PARAMS. Do you know a working variant? Is it a requirement that you need to regenerate the hash on every build? If not one solution can be:     inherit extrausers     #  

Re: [yocto] extrausers-bbclass: plaintext password (since shadow update to 4.9)

2021-08-31 Thread Matthias Klein
: Montag, 30. August 2021 22:52 An: Matthias Klein ; yocto@lists.yoctoproject.org Betreff: Re: [yocto] extrausers-bbclass: plaintext password (since shadow update to 4.9) On 2021-08-30 14:54, Matthias Klein wrote: > Hello, > > I am trying to find a working alternative for the old

Re: [yocto] extrausers-bbclass: plaintext password (since shadow update to 4.9)

2021-08-31 Thread Matthias Klein
Hello Markus, thanks for the workaround! Works great. Many greetings, Matthias Von: Markus Volk Gesendet: Montag, 30. August 2021 20:46 An: Matthias Klein Cc: yocto@lists.yoctoproject.org Betreff: Re: [yocto] extrausers-bbclass: plaintext password (since shadow update to 4.9) I also have

Re: [yocto] extrausers-bbclass: plaintext password (since shadow update to 4.9)

2021-08-30 Thread Peter Bergin
On 2021-08-30 14:54, Matthias Klein wrote: Hello, I am trying to find a working alternative for the old -P option. Previous: EXTRA_USERS_PARAMS = "usermod -P toor root;" The suggestions from this thread don't seem to work: https://lists.openembedded.org/g/openembedded-core/topic/84548199

Re: [yocto] extrausers-bbclass: plaintext password (since shadow update to 4.9)

2021-08-30 Thread Markus Volk
I also have problems with setting passwords in current master branch. I only can provide a hacky workaround. I added the following lines to my image recipe to inject the passwords manually after rootfs creation: RETRO_USER_PASSWORD ?= "retro" ROOT_USER_PASSWORD ?= "root"