Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] how does buildroot avoid requireing root?
@ 2013-06-29  0:47 John Stile
  2013-06-29  1:49 ` Charles Krinke
  2013-06-29  8:49 ` Thomas Petazzoni
  0 siblings, 2 replies; 4+ messages in thread
From: John Stile @ 2013-06-29  0:47 UTC (permalink / raw)
  To: buildroot

I am confused about how buildroot creates busybox.

There are notes that one must ensure that busybox setuid root.

Performing this operation must be performed as root:
   chown 0.0 /bin/busybox; chmod 4755 /bin/busybox

Yet when I use buildroot I never become root.

How does buildroot accomplish this?

In output/build/busybox-1.18.5 I see applets/install.sh calls:
  install -m 755 busybox $prefix/bin/busybox || exit 1

but I don't see how this becomes setuid?

On my embedded system, I see:
-rwsr-xr-x    1 root     root        605876 Jun 28  2013 /bin/busybox*

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-06-29 17:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-29  0:47 [Buildroot] how does buildroot avoid requireing root? John Stile
2013-06-29  1:49 ` Charles Krinke
2013-06-29  8:49 ` Thomas Petazzoni
2013-06-29 17:08   ` John Stile

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox