[Buildroot] How to login as root without password
zhouqiang.search at gmail.com
Tue Jul 30 10:43:28 UTC 2013
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 .
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the buildroot