* [Buildroot] how to add user to rootfs?
@ 2009-03-31 10:00 Bernhard Weirich
2009-03-31 10:35 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Bernhard Weirich @ 2009-03-31 10:00 UTC (permalink / raw)
To: buildroot
Hello,
I have added a new user to /etc/shadow and /etc/passwd but how do I tell
genext2 that the directory /home/user does not belong to root?
There is some magic going on that /home/default is owned by "default" in
the resulting rootfs but I have not understood how it works.
Can anyone help me on this?
Thx,
Bernhard Weirich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20090331/12359a33/attachment.htm>
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] how to add user to rootfs?
2009-03-31 10:00 [Buildroot] how to add user to rootfs? Bernhard Weirich
@ 2009-03-31 10:35 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2009-03-31 10:35 UTC (permalink / raw)
To: buildroot
>>>>> "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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-31 10:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-31 10:00 [Buildroot] how to add user to rootfs? Bernhard Weirich
2009-03-31 10:35 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox