Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] How to login as root without password
@ 2013-07-30 10:43 zhou qiang
  2013-07-30 12:39 ` Thomas De Schampheleire
  0 siblings, 1 reply; 8+ messages in thread
From: zhou qiang @ 2013-07-30 10:43 UTC (permalink / raw)
  To: buildroot

Hi , guys

I am working on a server (no root permision)  , my intention is to create a
root filesystem  for arm board ,and
login as root ,directly to /bin/sh(no login window ).
From the document , I know that it is not possible to use target/ , then I
create a rootfs.tar in images/  , and
extract it .what  I did  is as following :

(1)  "fakeroot tar -xvf images/rootfs.tar -C work/rootfs " to extract it to
rootfs directory ,
since no root permision , fakeroot does a great job.

(2) Adding  "ttyS0:respawn:~/bin/sh " to avoid requiring login .


After burning the filesystem to development board.
The problem is coming , current login is a ordinary user , what I expected
is root user .

Can someone help to fix this issue , any input would be great appreciated .


Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130730/ba67a5e2/attachment.html>

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

end of thread, other threads:[~2013-08-01  8:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-30 10:43 [Buildroot] How to login as root without password zhou qiang
2013-07-30 12:39 ` Thomas De Schampheleire
2013-07-30 13:40   ` zhou qiang
2013-07-30 14:02     ` Thomas De Schampheleire
2013-07-31 15:03       ` zhou qiang
2013-07-31 15:11         ` Thomas De Schampheleire
2013-07-31 15:17         ` Thomas Petazzoni
2013-08-01  8:09           ` zhou qiang

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