From: Mauro Ziliani <mauro@faresoftware.it>
To: yocto@yoctoproject.org
Subject: Re: Set root password from a recipe
Date: Wed, 16 May 2018 11:00:23 +0200 [thread overview]
Message-ID: <4567ff4e-5c5e-bed9-1510-6a60e1381705@faresoftware.it> (raw)
In-Reply-To: <706c8cbc-b5ac-e456-5a30-199aeb596766@faresoftware.it>
Sorry
inherit extrausers
Il 16/05/2018 10:46, Mauro Ziliani ha scritto:
> Hi all.
>
> I need to set a well know password for root user.
>
> I follow the istruction to do this with
>
>
> inherit extra_users
>
> EXTRA_USERS_PARAMS = " \
>
> usermod -P secret root; \
>
> "
>
>
> But it does not work.
>
> I think the problem i for usermod
>
> I sse the man page and the -p parameter needs the output of crypt(3)
> function.
>
> While -P parameter (p-uppercase) is not a valid parameter for usermod
>
>
> Any idea?
>
>
> Thanks
>
> Mauro
>
next prev parent reply other threads:[~2018-05-16 9:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-16 8:46 Set root password from a recipe Mauro Ziliani
2018-05-16 9:00 ` Mauro Ziliani [this message]
2018-05-16 9:19 ` ChenQi
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=4567ff4e-5c5e-bed9-1510-6a60e1381705@faresoftware.it \
--to=mauro@faresoftware.it \
--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.