* [Buildroot] How to Login in a filesystem as a root
@ 2010-06-24 6:42 amr ali
2010-06-24 7:45 ` Thomas Petazzoni
0 siblings, 1 reply; 7+ messages in thread
From: amr ali @ 2010-06-24 6:42 UTC (permalink / raw)
To: buildroot
Hi,
I managed to build filesystem for my davinci DVM6446 board. I want to login as root instead of the default user.
How can I do that?
One more thing, how can I test webkit installed in my filesystem?
--
Amr Ali Abdel-Naby
Embedded Systems Developer
www.embedded-tips.blogspot.com
_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
https://signup.live.com/signup.aspx?id=60969
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100624/e2661ba9/attachment.html>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] How to Login in a filesystem as a root
2010-06-24 6:42 [Buildroot] How to Login in a filesystem as a root amr ali
@ 2010-06-24 7:45 ` Thomas Petazzoni
2010-06-24 10:46 ` Mitch Davis
0 siblings, 1 reply; 7+ messages in thread
From: Thomas Petazzoni @ 2010-06-24 7:45 UTC (permalink / raw)
To: buildroot
On Thu, 24 Jun 2010 09:42:37 +0300
amr ali <amraldo@hotmail.com> wrote:
> I managed to build filesystem for my davinci DVM6446 board. I want to login as root instead of the default user.
> How can I do that?
By default, embedded Linux systems generated by Buildroot have a 'root'
account, for which the password is empty. So at the log-in prompt, just
use 'root', and you're all set.
> One more thing, how can I test webkit installed in my filesystem?
We have a Webkit package, so just enable it in the configuration.
However, the Webkit package hasn't been updated since a while, and it
may not build properly. I know Lionel Landwerlin has posted some
patches to upgrade it, but they haven't been merged so far.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] How to Login in a filesystem as a root
2010-06-24 7:45 ` Thomas Petazzoni
@ 2010-06-24 10:46 ` Mitch Davis
2010-06-24 10:50 ` amr ali
0 siblings, 1 reply; 7+ messages in thread
From: Mitch Davis @ 2010-06-24 10:46 UTC (permalink / raw)
To: buildroot
On Thu, Jun 24, 2010 at 5:45 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> On Thu, 24 Jun 2010 09:42:37 +0300
> amr ali <amraldo@hotmail.com> wrote:
>
>> I managed to build filesystem for my davinci DVM6446 board. I want to login as root instead of the default user.
>> How can I do that?
>
> By default, embedded Linux systems generated by Buildroot have a 'root'
> account, for which the password is empty. So at the log-in prompt, just
> use 'root', and you're all set.
Amr Ali, is it possible that your DaVinci board isn't running
something generated by "buildroot"? Or perhaps it's based on
buildroot, but it's been customised to have a password for root?
I'm wondering if it's really based on buildroot, as even if the root
password has been set (I do for my buildroot-based product), it should
still allow console logins for the root user.
Mitch.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] How to Login in a filesystem as a root
2010-06-24 10:46 ` Mitch Davis
@ 2010-06-24 10:50 ` amr ali
2010-06-24 10:56 ` Paul Jones
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: amr ali @ 2010-06-24 10:50 UTC (permalink / raw)
To: buildroot
I checked the passwd and shadow files, they have a root user but whenever I type root at login it give invalid login.
May be you are right. I need to read more about buildroot. I can send you my configuration files if possible to check it yourself.
--
Amr Ali Abdel-Naby
Embedded Systems Developer
www.embedded-tips.blogspot.com
> From: mjd+buildroot at afork.com
> Date: Thu, 24 Jun 2010 20:46:12 +1000
> Subject: Re: [Buildroot] How to Login in a filesystem as a root
> To: amraldo at hotmail.com
> CC: buildroot at busybox.net
>
> On Thu, Jun 24, 2010 at 5:45 PM, Thomas Petazzoni
> <thomas.petazzoni@free-electrons.com> wrote:
> > On Thu, 24 Jun 2010 09:42:37 +0300
> > amr ali <amraldo@hotmail.com> wrote:
> >
> >> I managed to build filesystem for my davinci DVM6446 board. I want to login as root instead of the default user.
> >> How can I do that?
> >
> > By default, embedded Linux systems generated by Buildroot have a 'root'
> > account, for which the password is empty. So at the log-in prompt, just
> > use 'root', and you're all set.
>
> Amr Ali, is it possible that your DaVinci board isn't running
> something generated by "buildroot"? Or perhaps it's based on
> buildroot, but it's been customised to have a password for root?
>
> I'm wondering if it's really based on buildroot, as even if the root
> password has been set (I do for my buildroot-based product), it should
> still allow console logins for the root user.
>
> Mitch.
_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
https://signup.live.com/signup.aspx?id=60969
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100624/dd678456/attachment.html>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] How to Login in a filesystem as a root
2010-06-24 10:50 ` amr ali
@ 2010-06-24 10:56 ` Paul Jones
2010-06-24 11:02 ` Peter Hüwe
2010-06-24 11:50 ` Mitch Davis
2 siblings, 0 replies; 7+ messages in thread
From: Paul Jones @ 2010-06-24 10:56 UTC (permalink / raw)
To: buildroot
I've had this problem a few times before. It seems to happen if the kernel
and rootfs are built with different toolchains (even the same version) that
have different options for things like wchar. I never did figure it out but
the issue seems to have gone away for now.
Paul
From: buildroot-bounces@busybox.net [mailto:buildroot-bounces at busybox.net]
On Behalf Of amr ali
Sent: Thursday, 24 June 2010 8:50 PM
To: mjd+buildroot at afork.com
Cc: Busy Box Forum
Subject: Re: [Buildroot] How to Login in a filesystem as a root
I checked the passwd and shadow files, they have a root user but whenever I
type root at login it give invalid login.
May be you are right. I need to read more about buildroot. I can send you my
configuration files if possible to check it yourself.
--
Amr Ali Abdel-Naby
Embedded Systems Developer
www.embedded-tips.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100624/861ff072/attachment-0001.html>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] How to Login in a filesystem as a root
2010-06-24 10:50 ` amr ali
2010-06-24 10:56 ` Paul Jones
@ 2010-06-24 11:02 ` Peter Hüwe
2010-06-24 11:50 ` Mitch Davis
2 siblings, 0 replies; 7+ messages in thread
From: Peter Hüwe @ 2010-06-24 11:02 UTC (permalink / raw)
To: buildroot
Am Donnerstag 24 Juni 2010 12:50:26 schrieb amr ali:
> I checked the passwd and shadow files, they have a root user but whenever I
> type root at login it give invalid login. May be you are right. I need to
> read more about buildroot. I can send you my configuration files if
> possible to check it yourself. --
> Amr Ali Abdel-Naby
> Embedded Systems Developer
> www.embedded-tips.blogspot.com
>
Hi,
does the busybox binary on your target board belong to root?
I've had that issue once, that I managed to create it with an other owner as
user.
Moreover I'm not sure if it might need the suid-bit set.
Peter
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] How to Login in a filesystem as a root
2010-06-24 10:50 ` amr ali
2010-06-24 10:56 ` Paul Jones
2010-06-24 11:02 ` Peter Hüwe
@ 2010-06-24 11:50 ` Mitch Davis
2 siblings, 0 replies; 7+ messages in thread
From: Mitch Davis @ 2010-06-24 11:50 UTC (permalink / raw)
To: buildroot
2010/6/24 amr ali <amraldo@hotmail.com>:
> I checked the passwd and shadow files, they have a root user but whenever I
> type root at login it give invalid login.
> May be you are right. I need to read more about buildroot. I can send you my
> configuration files if possible to check it yourself.
Do you have a file on your DaVinci called "/etc/securetty"? If so,
what's in it?
Mitch.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-06-24 11:50 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-24 6:42 [Buildroot] How to Login in a filesystem as a root amr ali
2010-06-24 7:45 ` Thomas Petazzoni
2010-06-24 10:46 ` Mitch Davis
2010-06-24 10:50 ` amr ali
2010-06-24 10:56 ` Paul Jones
2010-06-24 11:02 ` Peter Hüwe
2010-06-24 11:50 ` Mitch Davis
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.