Part Number: AM3358
Tool/software: Linux
I've been trying to figure out how to set the default root password and add users in a customised SDK build.
Following documentation which suggests:
1. edit /build/conf/local.conf
2. comment out EXTRA_IMAGE_FEATURES = "debug-tweaks"
3. add the following lines
INHERIT += "extrausers"
EXTRA_USERS_PARAMS = "useradd -P userpwd newuser; usermod -P rootpwd root;"
This configuration seems to build and install correctly, but the passwords are not being set (or being set incorrectly): effectively locking me out of the target system!
I've also tried another suggestion of:
EXTRA_USERS_PARAMS = "useradd -p $(openssl passwd userpwd) newuser; usermod -p $(openssl passwd rootpwd) root;"
but this doesn't fair any better.
Any ideas what could be causing the problem or ways to achieve this?
Mat