From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] how to add user to rootfs?
Date: Tue, 31 Mar 2009 12:35:37 +0200 [thread overview]
Message-ID: <87hc1a9dza.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <1238493632.14498.11.camel@hactar.vie.riedel.net> (Bernhard Weirich's message of "Tue\, 31 Mar 2009 12\:00\:32 +0200")
>>>>> "Bernhard" == Bernhard Weirich <weirich@riedel.net> writes:
Bernhard> Hello,
Bernhard> I have added a new user to /etc/shadow and /etc/passwd but
Bernhard> how do I tell genext2 that the directory /home/user does
Bernhard> not belong to root? There is some magic going on that
Bernhard> /home/default is owned by "default" in the resulting rootfs
Bernhard> but I have not understood how it works. Can anyone help me
Bernhard> on this?
It's done using the device_table.txt in target/generic. Have a look at
the /home/default line for the syntax.
--
Bye, Peter Korsgaard
prev parent reply other threads:[~2009-03-31 10:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-31 10:00 [Buildroot] how to add user to rootfs? Bernhard Weirich
2009-03-31 10:35 ` Peter Korsgaard [this message]
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=87hc1a9dza.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox