Yocto Project Documentation
 help / color / mirror / Atom feed
From: "Paul Eggleton" <paul.eggleton@linux.microsoft.com>
To: docs@lists.yoctoproject.org
Subject: [PATCH 08/13] ref-manual: add passwd-expire to EXTRA_USERS_PARAMS
Date: Tue, 13 Apr 2021 17:19:49 -0700	[thread overview]
Message-ID: <c973665acd8a5259b19ab512b2ae7f6d10848cb5.1618358456.git.paul.eggleton@linux.microsoft.com> (raw)
In-Reply-To: <cover.1618358456.git.paul.eggleton@linux.microsoft.com>

From: Paul Eggleton <paul.eggleton@microsoft.com>

Add a reference to the recently added passwd-expire command in
EXTRA_USERS_PARAMS.

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
---
 documentation/ref-manual/variables.rst | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index 2e3cc22..3b76dbc 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.
          # 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`.
-- 
1.8.3.1


  parent reply	other threads:[~2021-04-14  0:19 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-14  0:19 [PATCH 00/13] Documentation updates for 3.3 Paul Eggleton
2021-04-14  0:19 ` [PATCH 01/13] ref-manual: add METADATA_REVISION and METADATA_BRANCH Paul Eggleton
2021-04-14  7:59   ` [docs] " Quentin Schulz
2021-04-14  0:19 ` [PATCH 02/13] Use variables for minimum host versions and bump Python to 3.6 Paul Eggleton
2021-04-14  0:19 ` [PATCH 03/13] ref-manual: update/fix text for SDK_VERSION Paul Eggleton
2021-04-14  0:19 ` [PATCH 04/13] overview-manual: fix git command line Paul Eggleton
2021-04-14  0:19 ` [PATCH 05/13] ref-manual: and SDK_CUSTOM_TEMPLATECONF to glossary Paul Eggleton
2021-04-14  8:03   ` [docs] " Quentin Schulz
2021-04-14  0:19 ` [PATCH 06/13] ref-manual: add REQUIRED_VERSION and adjust PREFERRED_VERSION entry Paul Eggleton
2021-04-14  8:10   ` [docs] " Quentin Schulz
2021-04-14  8:17     ` Nicolas Dechesne
2021-04-14  0:19 ` [PATCH 07/13] ref-manual: add python3targetconfig class and remove python 2 references Paul Eggleton
2021-04-14  0:19 ` Paul Eggleton [this message]
2021-04-14  8:13   ` [docs] [PATCH 08/13] ref-manual: add passwd-expire to EXTRA_USERS_PARAMS Quentin Schulz
2021-04-14  8:19     ` Nicolas Dechesne
2021-04-14  8:36       ` Robert P. J. Day
2021-04-15 14:18         ` Michael Opdenacker
2021-04-14  0:19 ` [PATCH 09/13] ref-manual: add FIT_KERNEL_COMP_ALG* Paul Eggleton
2021-04-14  8:16   ` [docs] " Quentin Schulz
2021-04-14  8:35     ` Robert P. J. Day
2021-04-14  8:41       ` Quentin Schulz
2021-04-14  8:43         ` Robert P. J. Day
2021-04-15 10:07       ` Paul Eggleton
2021-04-14  0:19 ` [PATCH 10/13] ref-manual: fix reference to build-essential Paul Eggleton
2021-04-14  8:17   ` [docs] " Quentin Schulz
2021-04-14  8:21     ` Nicolas Dechesne
2021-04-14  0:19 ` [PATCH 11/13] ref-manual: tweak buildtools section Paul Eggleton
2021-04-14  0:19 ` [PATCH 12/13] ref-manual: add migration section for 3.3 release Paul Eggleton
2021-04-14  8:26   ` [docs] " Quentin Schulz
2021-04-15  9:52     ` Paul Eggleton
2021-04-15  9:59       ` Quentin Schulz
2021-04-15 10:25         ` Nicolas Dechesne
2021-04-15 14:07           ` Quentin Schulz
2021-04-15 17:32             ` Nicolas Dechesne
2021-04-15 14:14           ` Michael Opdenacker
2021-04-14  0:19 ` [PATCH 13/13] ref-manual: migration guide: add release codenames Paul Eggleton
2021-04-14  8:28   ` [docs] " Quentin Schulz
2021-04-15 13:54 ` [docs] [PATCH 00/13] Documentation updates for 3.3 Michael Opdenacker
2021-04-15 14:00   ` Quentin Schulz
2021-04-15 14:05     ` Michael Opdenacker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c973665acd8a5259b19ab512b2ae7f6d10848cb5.1618358456.git.paul.eggleton@linux.microsoft.com \
    --to=paul.eggleton@linux.microsoft.com \
    --cc=docs@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox