Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Julien Boibessot <julien.boibessot@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] Creating user accounts in rootfs
Date: Thu, 19 Nov 2009 13:54:03 +0100	[thread overview]
Message-ID: <4B053FEB.20104@free.fr> (raw)

Hi,

Does someone know a better way than the following to create user
accounts ? :
* on the target use "adduser xxx"
* then copy target's "/etc/passwd" and "/etc/shadow" to Host's
"buildroot/target/..../rootfs/target_skeleton/..."
* rebuild rootfs

My goal is to have a rootfs with preset user accounts, ready to be used
as soon as the rootfs image has been flashed.

Thanks
Julien

             reply	other threads:[~2009-11-19 12:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-19 12:54 Julien Boibessot [this message]
2009-12-10 14:38 ` [Buildroot] Creating user accounts in rootfs Peter Korsgaard
2009-12-10 15:48   ` Stephan Raue

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=4B053FEB.20104@free.fr \
    --to=julien.boibessot@free.fr \
    --cc=buildroot@busybox.net \
    /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