aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/dropbear/dropbear/dropbear.default
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2017-06-29 11:31:47 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-07 10:59:16 +0100
commitd3e69fa2fef83015658aa5fa1442bab5a8c3edaa (patch)
tree6c32f365ce3848caee11289b92ec56df34739a98 /meta/recipes-core/dropbear/dropbear/dropbear.default
parent1ab494f06a12548a902298afabd0a842161ef10d (diff)
downloadopenembedded-core-contrib-d3e69fa2fef83015658aa5fa1442bab5a8c3edaa.tar.gz
dropbear: add default config file to disable root login
root login is disabled by default for openssh and we can enable it through IMAGE_FEATURES 'debug-tweaks' or 'allow-empty-password', so change to the same default behavior for dropbear. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/dropbear/dropbear/dropbear.default')
-rw-r--r--meta/recipes-core/dropbear/dropbear/dropbear.default2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-core/dropbear/dropbear/dropbear.default b/meta/recipes-core/dropbear/dropbear/dropbear.default
new file mode 100644
index 0000000000..522453a86c
--- /dev/null
+++ b/meta/recipes-core/dropbear/dropbear/dropbear.default
@@ -0,0 +1,2 @@
+# Disallow root logins by default
+DROPBEAR_EXTRA_ARGS="-w"