All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel" <dchvs11@gmail.com>
To: "Mahendra Sondagar" <mahendrasondagar08@gmail.com>,
	yocto@lists.yoctoproject.org
Subject: Re: [yocto] issue adding the user with the yocto kirkstone
Date: Thu, 25 Apr 2024 11:57:38 -0700	[thread overview]
Message-ID: <3353.1714071458038827393@lists.yoctoproject.org> (raw)
In-Reply-To: <MUdL.1714070859202231693.qcwE@lists.yoctoproject.org>

[-- Attachment #1: Type: text/plain, Size: 221 bytes --]

Hi, Mahendra

Try using `useradd` instead of `usermod` for creating your user with the EXTRA_USER_PARAMS feature. Something like this:

EXTRA_USERS_PARAMS : append = "\
useradd -m -s /bin /bash -P 'mahi' root; \
"

[-- Attachment #2: Type: text/html, Size: 902 bytes --]

  reply	other threads:[~2024-04-25 18:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-25 18:47 issue adding the user with the yocto kirkstone Mahendra Sondagar
2024-04-25 18:57 ` Daniel [this message]
2024-04-26 17:49   ` [yocto] " Mahendra Sondagar
2024-04-26 19:22     ` Daniel

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=3353.1714071458038827393@lists.yoctoproject.org \
    --to=dchvs11@gmail.com \
    --cc=mahendrasondagar08@gmail.com \
    --cc=yocto@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.