All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] Creating user accounts in rootfs
Date: Thu, 10 Dec 2009 15:38:29 +0100	[thread overview]
Message-ID: <87skbivqqi.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <4B053FEB.20104@free.fr> (Julien Boibessot's message of "Thu, 19 Nov 2009 13:54:03 +0100")

>>>>> "Julien" == Julien Boibessot <julien.boibessot@free.fr> writes:

Hi,

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

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

No, that's certainly the easiest solution (and how I normally do it).

-- 
Bye, Peter Korsgaard

  reply	other threads:[~2009-12-10 14:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-19 12:54 [Buildroot] Creating user accounts in rootfs Julien Boibessot
2009-12-10 14:38 ` Peter Korsgaard [this message]
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=87skbivqqi.fsf@macbook.be.48ers.dk \
    --to=jacmet@uclibc.org \
    --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 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.