diff options
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/conf/fragments/yocto/root-login-with-empty-password.conf | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/conf/fragments/yocto/root-login-with-empty-password.conf b/meta/conf/fragments/yocto/root-login-with-empty-password.conf new file mode 100644 index 0000000000..86aec0e152 --- /dev/null +++ b/meta/conf/fragments/yocto/root-login-with-empty-password.conf | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | BB_CONF_FRAGMENT_SUMMARY = "Log in as root without password on serial console and over ssh (use with caution)." | ||
| 2 | BB_CONF_FRAGMENT_DESCRIPTION = "By default images are built such that root login is disabled \ | ||
| 3 | (which is the preferred, secure default). However, for testing and development purposes it can \ | ||
| 4 | be beneficial to be able to log in as root, both on serial console and over ssh connections, \ | ||
| 5 | which is what this fragment enables. Use with great caution, and ideally only in tightly \ | ||
| 6 | controlled local builds and CI testing environments, and never in artefacts that are deployed \ | ||
| 7 | into products. \ | ||
| 8 | " | ||
| 9 | |||
| 10 | EXTRA_IMAGE_FEATURES += "allow-empty-password empty-root-password allow-root-login" | ||
