]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
local.conf.sample: comment out the root-with-empty-password setting
authorAlexander Kanavin <alex@linutronix.de>
Tue, 18 Nov 2025 16:58:43 +0000 (17:58 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 20 Nov 2025 11:22:12 +0000 (11:22 +0000)
This was not a good default; the autobuilder relied on it, but this
has been fixed, there's now a separate fragment as well, and testimage
has a check for the needed image features. Let's take this out and
be more secure by default everywhere.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/templates/default/local.conf.sample

index 2639be3ddf122ce94ed27b3273fa4b58d7fea40a..fb6ed2c3bf22b769c5b9c71ea28a35e98a5bcbc7 100644 (file)
@@ -122,8 +122,10 @@ MACHINE ??= "qemux86-64"
 # There are other features that can be used here too, see
 # meta/classes-recipe/image.bbclass and
 # meta/classes-recipe/core-image.bbclass for more details.
-# We default to allowing root login without a password for convenience.
-EXTRA_IMAGE_FEATURES ?= "allow-empty-password empty-root-password allow-root-login"
+#
+# The following will allow root login without a password for convenience.
+# Use with care, and never in product builds.
+#EXTRA_IMAGE_FEATURES ?= "allow-empty-password empty-root-password allow-root-login"
 
 #
 # Additional image features