From: "Richard Purdie" <richard.purdie@linuxfoundation.org>
To: Joseph Reynolds <jrey@linux.ibm.com>,
OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] [PATCH] add new extrausers command passwd-expire - moved to PR 63
Date: Tue, 27 Oct 2020 23:40:13 +0000 [thread overview]
Message-ID: <d3d2b07773e8af90a4b1ba8e4366f035d5e28608.camel@linuxfoundation.org> (raw)
In-Reply-To: <4fb6f623-c811-0593-dc89-877f128439a3@linux.ibm.com>
On Tue, 2020-10-27 at 18:19 -0500, Joseph Reynolds wrote:
> On 10/27/20 2:41 PM, Richard Purdie wrote:
> > Hi Joseph,
> >
> > On Mon, 2020-10-26 at 15:41 -0500, Joseph Reynolds wrote:
> > > This enhances extrausers with a new passwd-expire command that
> > > causes
> > > a local user's password to be expired as if the `passwd --expire`
> > > command was run, so the password needs to be changed on initial
> > > login.
> > >
> > > Example: EXTRA_USERS_PARAMS += " useradd ... sofia; passwd-expire
> > > sofia;"
> > >
> > > Tested: on useradd accounts
> > > When configured with Linux-PAM, console login prompts for and can
> > > successfully change the password. OpenSSH server
> > > works. Dropbear
> > > SSH server notes the password must be changed but does not offer
> > > a
> > > password change dialog and rejects the login request.
> > >
> > > Signed-off-by: Joseph Reynolds <joseph-reynolds@charter.net>
> > > ---
> > > meta/classes/extrausers.bbclass | 3 +++
> > > meta/classes/useradd_base.bbclass | 18 ++++++++++++++++++
> > > 2 files changed, 21 insertions(+)
> > >
> > > diff --git a/meta/classes/extrausers.bbclass
> > > b/meta/classes/extrausers.bbclass
> > > index 32569e9..90811bf 100644
> > > --- a/meta/classes/extrausers.bbclass
> > > +++ b/meta/classes/extrausers.bbclass
> > > @@ -46,6 +46,9 @@ set_user_group () {
> > > usermod)
> > > perform_usermod "${IMAGE_ROOTFS}" "-R
> > > ${IMAGE_ROOTFS}
> > > $opts"
> > Unfortunately this patch is coming through line wrapped which makes
> > it
> > hard to apply. Can you resend it without the line wrapping, or
> > point at
> > a git tree with the patch in please?
>
> Thanks. The PR work flow is much easier for me. I didn't realize
> OE
> was on github.com.
> I hereby withdraw & abandon my email patch request and replace it
> with:
> https://github.com/openembedded/openembedded-core/pull/63
We don't. In this case since its mangled, I'm willing to pull from
somewhere. We do need patches on the mailing list for review since that
is where people look to review them. github works fine for a single
maintainer, I can't merge pretty much anything without public peer
review though.
Cheers,
Richard
prev parent reply other threads:[~2020-10-27 23:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-26 20:41 [PATCH] add new extrausers command passwd-expire Joseph Reynolds
2020-10-27 19:41 ` [OE-core] " Richard Purdie
2020-10-27 23:19 ` [OE-core] [PATCH] add new extrausers command passwd-expire - moved to PR 63 Joseph Reynolds
2020-10-27 23:40 ` Richard Purdie [this message]
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=d3d2b07773e8af90a4b1ba8e4366f035d5e28608.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=jrey@linux.ibm.com \
--cc=openembedded-core@lists.openembedded.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