users: add root password and tkl user

Signed-off-by: Thomas Klaehn <tkl@blackfinn.de>
This commit is contained in:
Thomas Klaehn 2017-06-13 15:10:37 +02:00
parent 3dd08ee0f9
commit 63cf2f3915
2 changed files with 8 additions and 2 deletions

View File

@ -9,7 +9,7 @@ PACKAGE_CLASSES ?= "package_ipk"
#SDKMACHINE ?= "i686" #SDKMACHINE ?= "i686"
EXTRA_IMAGE_FEATURES ?= "debug-tweaks" #EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink" USER_CLASSES ?= "buildstats image-mklibs image-prelink"

View File

@ -2,9 +2,15 @@ SUMMARY = "A console image with some additional tools"
HOMEPAGE = "https://blackfinn.de" HOMEPAGE = "https://blackfinn.de"
LICENSE = "MIT" LICENSE = "MIT"
inherit core-image extrausers
IMAGE_FEATURES += "package-management" IMAGE_FEATURES += "package-management"
inherit core-image # Encrypt the password with: echo "<password>" | openssl passwd -1 -stdin
EXTRA_USERS_PARAMS = " \
usermod -p '\$1\$4h5Qdc3i\$Vke4J2Ci5z.D3TtFDmV9r/' root; \
useradd -p '\$1\$4h5Qdc3i\$Vke4J2Ci5z.D3TtFDmV9r/' tkl; \
"
CORE_OS = " \ CORE_OS = " \
openssh \ openssh \