mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
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>
This commit is contained in:
parent
bf68c627b1
commit
e7559be8d5
|
@ -2293,6 +2293,17 @@ system and gives an overview of their function and contents.
|
|||
# usermod -s /bin/sh tester; \
|
||||
# "
|
||||
|
||||
Additionally there is a special ``passwd-expire`` command that will
|
||||
cause the password for a user to be expired and thus force changing it
|
||||
on first login, for example::
|
||||
|
||||
EXTRA_USERS_PARAMS += " useradd myuser; passwd-expire myuser;"
|
||||
|
||||
.. note::
|
||||
|
||||
At present, ``passwd-expire`` may only work for remote logins when
|
||||
using OpenSSH and not dropbear as an SSH server.
|
||||
|
||||
:term:`FEATURE_PACKAGES`
|
||||
Defines one or more packages to include in an image when a specific
|
||||
item is included in :term:`IMAGE_FEATURES`.
|
||||
|
|
Loading…
Reference in New Issue
Block a user