users: add root password and tkl user
Signed-off-by: Thomas Klaehn <tkl@blackfinn.de>
This commit is contained in:
parent
3dd08ee0f9
commit
63cf2f3915
@ -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"
|
||||||
|
|
||||||
|
@ -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 \
|
||||||
|
Loading…
Reference in New Issue
Block a user