Hi Daniel,
> I didn't know about this EXTRA_USERS_PARAMS. What I do is adding this
> function to
> my image.
> # This function sets the password for root based on ROOT_PASSWD variable
> set_root_password () {
> local p=$(openssl passwd -1 -salt "My salt" "${ROOT_PASSWD}")
>sed
Hello,
Looking around the web and reading the assorted documents it seems to be
that the defined way to set the root password is to remove "debug-tweaks"
from EXTRA_IMAGE_FEATURES and to add the following lines to local.conf:
require conf/distro/include/security_flags.inc
INHERIT += "extrausers"
Hey Andy,
I didn't know about this EXTRA_USERS_PARAMS. What I do is adding this
function to
my image.
# This function sets the password for root based on ROOT_PASSWD variable
set_root_password () {
local p=$(openssl passwd -1 -salt "My salt" "${ROOT_PASSWD}")
sed -e
Still, I think is a good ideia to understand what is going wrong with
EXTRA_USERS_PARAMS, other users may having the same problem.
Regards,
- dhs
2015-09-24 11:16 GMT-03:00 Daniel. :
> My image .class file has includes a lot of recipes that I wrote for
> specific reasons
My image .class file has includes a lot of recipes that I wrote for
specific reasons so it will not work as it is for you without that recipes,
instead here is the minimal you may need to get this working. I use a class
file because I have lot of images differing in little things, like which
Hi Andy, Daniel
On Thursday, September 24, 2015 11:20:37 AM Daniel. wrote:
> Still, I think is a good ideia to understand what is going wrong with
> EXTRA_USERS_PARAMS, other users may having the same problem.
EXTRA_USERS_PARAMS works for me all the time. The stanza is what I am using in
my
Rudi wrote
> > Still, I think is a good ideia to understand what is going wrong with
> > EXTRA_USERS_PARAMS, other users may having the same problem.
>
> EXTRA_USERS_PARAMS works for me all the time. The stanza is what I am
using
> in my image recipes:
>
> EXTRA_USERS_PARAMS = "\
> groupadd