diff options
author | Paul Eggleton <paul.eggleton@microsoft.com> | 2021-04-12 16:54:43 +1200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-04-15 20:18:58 +0100 |
commit | e7559be8d54e9352c7050d8b2e6bc5b95d7ce481 (patch) | |
tree | 130119bbf55a603eab01a636299117ee7c53f186 /documentation/ref-manual/variables.rst | |
parent | bf68c627b1b87e6b00f2ea42ee5eb40ec0b2e9be (diff) | |
download | poky-e7559be8d54e9352c7050d8b2e6bc5b95d7ce481.tar.gz |
ref-manual: add passwd-expire to EXTRA_USERS_PARAMS
Add a reference to the recently added passwd-expire command in
EXTRA_USERS_PARAMS.
(From yocto-docs rev: 9a6c8b37a1e6baab4dfb2ffe7b4abdf7dcbb8822)
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/variables.rst')
-rw-r--r-- | documentation/ref-manual/variables.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 5993182568..153c60cd2c 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
@@ -2293,6 +2293,17 @@ system and gives an overview of their function and contents. | |||
2293 | # usermod -s /bin/sh tester; \ | 2293 | # usermod -s /bin/sh tester; \ |
2294 | # " | 2294 | # " |
2295 | 2295 | ||
2296 | Additionally there is a special ``passwd-expire`` command that will | ||
2297 | cause the password for a user to be expired and thus force changing it | ||
2298 | on first login, for example:: | ||
2299 | |||
2300 | EXTRA_USERS_PARAMS += " useradd myuser; passwd-expire myuser;" | ||
2301 | |||
2302 | .. note:: | ||
2303 | |||
2304 | At present, ``passwd-expire`` may only work for remote logins when | ||
2305 | using OpenSSH and not dropbear as an SSH server. | ||
2306 | |||
2296 | :term:`FEATURE_PACKAGES` | 2307 | :term:`FEATURE_PACKAGES` |
2297 | Defines one or more packages to include in an image when a specific | 2308 | Defines one or more packages to include in an image when a specific |
2298 | item is included in :term:`IMAGE_FEATURES`. | 2309 | item is included in :term:`IMAGE_FEATURES`. |