diff options
author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2022-06-15 17:59:08 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-06-21 20:57:17 +0100 |
commit | e816f396964287fcd16c61c76f78ee0025ca2e92 (patch) | |
tree | 4bee9582439f9b1cf7655279a07cb8d30c19e15c /documentation | |
parent | 63a341f385b39db6464a03646876edc01e6e571f (diff) | |
download | poky-e816f396964287fcd16c61c76f78ee0025ca2e92.tar.gz |
ref-manual: correct description of empty-root-passwd in IMAGE_FEATURES
"empty-root-passwd" doesn't actually set an empty root password.
It just doesn't touch the initial root password which is empty by default.
(From yocto-docs rev: 793cfe841148ead7e22fc2caf045247ab27a15da)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/ref-manual/features.rst | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/documentation/ref-manual/features.rst b/documentation/ref-manual/features.rst index f566b00c58..a8d0dac996 100644 --- a/documentation/ref-manual/features.rst +++ b/documentation/ref-manual/features.rst | |||
@@ -218,8 +218,19 @@ Here are the image features available for all images: | |||
218 | - *doc-pkgs:* Installs documentation packages for all packages | 218 | - *doc-pkgs:* Installs documentation packages for all packages |
219 | installed in a given image. | 219 | installed in a given image. |
220 | 220 | ||
221 | - *empty-root-password:* Sets the root password to an empty string, | 221 | - *empty-root-password:* This feature or ``debug-tweaks`` is required if |
222 | which allows logins with a blank password. | 222 | you want to allow root login with an empty password. If these features |
223 | are not present in :term:`IMAGE_FEATURES`, a non-empty password is | ||
224 | forced in ``/etc/passwd`` and ``/etc/shadow`` if such files exist. | ||
225 | |||
226 | .. note:: | ||
227 | ``empty-root-passwd`` doesn't set an empty root password by itself. | ||
228 | You get an initial empty root password thanks to the | ||
229 | :oe_git:`base-passwd </openembedded-core/tree/meta/recipes-core/base-passwd/>` | ||
230 | and :oe_git:`shadow </openembedded-core/tree/meta/recipes-extended/shadow/>` | ||
231 | recipes, and the presence of ``empty-root-passwd`` or ``debug-tweaks`` | ||
232 | just disables the mechanism which forces an non-empty password for the | ||
233 | root user. | ||
223 | 234 | ||
224 | - *overlayfs-etc:* Configures the ``/etc`` directory to be in ``overlayfs``. | 235 | - *overlayfs-etc:* Configures the ``/etc`` directory to be in ``overlayfs``. |
225 | This allows to store device specific information elsewhere, especially | 236 | This allows to store device specific information elsewhere, especially |