From: Jukka Rissanen <jukka.rissanen@linux.intel.com>
To: Amit Tomer <amittomer25@gmail.com>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: How to recreate or modify already existing usres in /etc/passwd in Yocto
Date: Mon, 28 Oct 2013 10:48:34 +0200 [thread overview]
Message-ID: <526E24E2.1050006@linux.intel.com> (raw)
In-Reply-To: <CABHD4K-WnaT3z5hGmbrfwy+=-d2rukK3+89L9m2feu8nHEZDsA@mail.gmail.com>
On 26.10.2013 20:15, Amit Tomer wrote:
> Running out of ideas
>
> Can I get some fresh ideas for this issue
>
I am using this in my distro conf file
(http://git.yoctoproject.org/cgit/cgit.cgi/meta-eca/tree/meta-eca/conf/distro/eca.conf)
to change the root default password
INHERIT += "extrausers"
EXTRA_USERS_PARAMS = "usermod -p 'enrcrypted-password' root;"
So if you want to change the shell of a user, the command could look
something like EXTRA_USERS_PARAMS="usermod -s /bin/false foobar;"
--
Cheers,
Jukka
next prev parent reply other threads:[~2013-10-28 8:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-23 17:44 How to recreate or modify already existing usres in /etc/passwd in Yocto Amit Tomer
2013-10-26 17:15 ` Amit Tomer
2013-10-28 8:48 ` Jukka Rissanen [this message]
2013-10-28 10:07 ` Amit Tomer
2013-10-28 10:11 ` Jukka Rissanen
2013-10-28 10:41 ` Amit Tomer
2013-10-28 11:47 ` Amit Tomer
2013-10-27 16:16 ` Amit Tomer
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=526E24E2.1050006@linux.intel.com \
--to=jukka.rissanen@linux.intel.com \
--cc=amittomer25@gmail.com \
--cc=yocto@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.