Mauro wrote...
Actually I'm using:
EXTRA_USERS_PARAMS = " usermod -p '$(openssl passwd -6 myrootpassword)' root;"
...
But at this point I'm not sure if ${ROOT_PASSWORD} works (I'm using the
password wrote on the command, not passed by variable).
Switching to the ‘$(openssl …)’ form has
Mauro wrote...
pay attention that "openssl passwd ${ROOT_PASSWORD}" command handles only
passwords up to 8 characters (the extra characters will be truncated and the generated
hash is for the first eight).
If you want to use more than 8 characters in the password, use another password