Login troubles
I've just built a basic buildroot for my mini2440 ARM board and it successfully boots to the buildroot login: prompt.
My problem is that I can't seem to login - I haven't touched any of the config files and looking at /etc/passwd|shadow the login should be root with a blank password?
I've tried to login both from the serial console (which I set in the buildroot menu to /dev/ttySAC0) and the normal console with a usb keyboard - no luck.
This is what I get when it boots:
VFS: Mounted root (yaffs filesystem) on device 31:2. Freeing init memory: 128K
Initializing random number generator... done. Starting network...
ip: RTNETLINK answers: File exists
Welcome to Buildroot
buildroot login: root
Password:
Login incorrect
Hi Paul,
Quoted 5 lines · On Sun, 07 Mar 2010 23:53:02 +1100 Paul Jones <[email protected]> wrote:
I've just built a basic buildroot for my mini2440 ARM board and it successfully boots to the buildroot login: prompt.
My problem is that I can't seem to login - I haven't touched any of the config files and looking at /etc/passwd|shadow the login should be root with a blank password?
Right, no password, just press enter.
Quoted 7 lines
I've tried to login both from the serial console (which I set in the buildroot menu to
/dev/ttySAC0) and the normal console with a usb keyboard - no luck.buildroot login: root
Password:
Login incorrect
Are you sure that you haven't made any change to /etc/securetty ? It must contain at least /dev/ttySAC0 to allow login as root from this console. The default target skeleton has a /etc/securetty that contains /dev/ttySAC0, so it should be ok, unless you made any change to the skeleton, of course, or used a different skeleton.
Regards,
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
I thought it might be something I did so I downloaded buildroot again and recompiled without changing anything except ARCH and the serial console port and got the same result.
-----Original Message-----
From: [email protected] [mailto:buildroot-bounces at busybox.net] On Behalf Of Thomas Petazzoni
Sent: Monday, 8 March 2010 2:04 AM
To: buildroot at busybox.net
Subject: Re: [Buildroot] Login troubles
Hi Paul,
Quoted 6 lines · On Sun, 07 Mar 2010 23:53:02 +1100 Paul Jones <[email protected]> wrote:
I've just built a basic buildroot for my mini2440 ARM board and it successfully boots to the buildroot login: prompt.
My problem is that I can't seem to login - I haven't touched any of the config files and looking at /etc/passwd|shadow the login should beroot with a blank password?
Right, no password, just press enter.
Quoted 7 lines
I've tried to login both from the serial console (which I set in the buildroot menu to
/dev/ttySAC0) and the normal console with a usb keyboard - no luck.buildroot login: root
Password:
Login incorrect
Are you sure that you haven't made any change to /etc/securetty ? It must contain at least /dev/ttySAC0 to allow login as root from this console. The default target skeleton has a /etc/securetty that contains /dev/ttySAC0, so it should be ok, unless you made any change to the skeleton, of course, or used a different skeleton.
Regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux development, consulting, training and support.
http://free-electrons.com
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
A message that is not in the archive (sent off-list or not yet received): [email protected]
I've narrowed down the problem.
When I compile without WCHAR I login as root and never get asked for a password.
When I compile with WCHAR I get the password prompt and pressing enter does not work.
That is using buildroot from git.
I'm still using the kernel binary that was supplied with the board, 2.6.32.x Could that be causing the problem?
Paul.
Quoted 57 lines · Paul Jones
I thought it might be something I did so I downloaded buildroot again and recompiled without changing anything except ARCH and the serial console port and got the same result.
-----Original Message-----
From: buildroot-bounces at busybox.net [mailto:buildroot-bounces at busybox.net] On Behalf Of Thomas Petazzoni
Sent: Monday, 8 March 2010 2:04 AM
To: buildroot at busybox.net
Subject: Re: [Buildroot] Login troublesHi Paul,
Quoted 8 lines · On Sun, 07 Mar 2010 23:53:02 +1100 Paul Jones<[email protected]> wrote:
I've just built a basic buildroot for my mini2440 ARM board and it successfully boots to the buildroot login: prompt.
My problem is that I can't seem to login - I haven't touched any of the config files and looking at /etc/passwd|shadow the login should beroot with a blank password?
Right, no password, just press enter.
Quoted 9 lines
I've tried to login both from the serial console (which I set in the buildroot menu to
/dev/ttySAC0) and the normal console with a usb keyboard - no luck.buildroot login: root
Password:
Login incorrectAre you sure that you haven't made any change to
/etc/securetty? It must contain at least/dev/ttySAC0to allow login as root from this console. The default target skeleton has a/etc/securettythat contains/dev/ttySAC0, so it should be ok, unless you made any change to the skeleton, of course, or used a different skeleton.Regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux development, consulting, training and support.
http://free-electrons.com
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
I seem to have the same problem...
I built with WCHAR support, and although there is no password for either 'root' or 'default' in /etc/shadow, I can only log in as 'default'. Here are the entries:
[shadow]
root::10933:0:99999:7:::
default::10933:0:99999:7:::
[passwd]
root:x:0:0:root:/root:/bin/sh default:x:1000:1000:Default non-root user:/home/default:/bin/sh
I did not test with WCHAR support turned off.
cheers,
Rob Urban
Quoted 78 lines · Paul Jones
I've narrowed down the problem.
When I compile without WCHAR I login as root and never get asked for a password.
When I compile with WCHAR I get the password prompt and pressing enter does not work.
That is using buildroot from git.I'm still using the kernel binary that was supplied with the board, 2.6.32.x Could that be causing the problem?
Paul.
Quoted 44 lines · Paul Jones
I thought it might be something I did so I downloaded buildroot again and recompiled without changing anything except ARCH and the serial console port and got the same result.
-----Original Message-----
From: buildroot-bounces at busybox.net [mailto:buildroot-bounces at busybox.net] On Behalf Of Thomas Petazzoni
Sent: Monday, 8 March 2010 2:04 AM
To: buildroot at busybox.net
Subject: Re: [Buildroot] Login troublesHi Paul,
Quoted 8 lines · On Sun, 07 Mar 2010 23:53:02 +1100 Paul Jones<[email protected]> wrote:
I've just built a basic buildroot for my mini2440 ARM board and it successfully boots to the buildroot login: prompt.
My problem is that I can't seem to login - I haven't touched any of the config files and looking at /etc/passwd|shadow the login should beroot with a blank password?
Right, no password, just press enter.
Quoted 9 lines
I've tried to login both from the serial console (which I set in the buildroot menu to
/dev/ttySAC0) and the normal console with a usb keyboard - no luck.buildroot login: root
Password:
Login incorrectAre you sure that you haven't made any change to
/etc/securetty? It must contain at least/dev/ttySAC0to allow login as root from this console. The default target skeleton has a/etc/securettythat contains/dev/ttySAC0, so it should be ok, unless you made any change to the skeleton, of course, or used a different skeleton.Quoted 13 lines
Regards,
Thomas
Signature · 8 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
I had the same issue. I as able to log in as "default" and then "su" to root.
Quoted 109 lines · Robert Urban
I seem to have the same problem...
I built with WCHAR support, and although there is no password for either 'root' or 'default' in
/etc/shadow, I can only log in as 'default'. Here are the entries:[shadow]
root::10933:0:99999:7:::
default::10933:0:99999:7:::[passwd]
root:x:0:0:root:/root:/bin/sh default:x:1000:1000:Default non-root user:/home/default:/bin/shI did not test with WCHAR support turned off.
cheers,
Rob Urban
Quoted 82 lines · Paul Jones
I've narrowed down the problem.
When I compile without WCHAR I login as root and never get asked for a password.
When I compile with WCHAR I get the password prompt and pressing enter does not work.
That is using buildroot from git.I'm still using the kernel binary that was supplied with the board, 2.6.32.x Could that be causing the problem?
Paul.
Quoted 52 lines · Paul Jones
I thought it might be something I did so I downloaded buildroot again and recompiled without changing anything except ARCH and the serial console port and got the same result.
-----Original Message-----
From: buildroot-bounces at busybox.net [mailto:buildroot-bounces at busybox.net] On Behalf Of Thomas Petazzoni
Sent: Monday, 8 March 2010 2:04 AM
To: buildroot at busybox.net
Subject: Re: [Buildroot] Login troublesHi Paul,
Quoted 11 lines · On Sun, 07 Mar 2010 23:53:02 +1100 Paul Jones<[email protected]> wrote:
I've just built a basic buildroot for my mini2440 ARM board and it successfully boots to the buildroot login: prompt.
My problem is that I can't seem to login - I haven't touched any of the config files and looking at /etc/passwd|shadow the login should beroot with a blank password?
Right, no password, just press enter.
Quoted 7 lines
I've tried to login both from the serial console (which I set in the buildroot menu to
/dev/ttySAC0) and the normal console with a usb keyboard - no luck.Quoted 5 lines
buildroot login: root
Password:
Login incorrectAre you sure that you haven't made any change to
/etc/securetty? It must contain at least/dev/ttySAC0to allow login as root from this console. The default target skeleton has a/etc/securettythat contains/dev/ttySAC0, so it should be ok, unless you made any change to the skeleton, of course, or used a different skeleton.Quoted 14 lines
Regards,
Thomas
Signature · 8 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildrootQuoted 6 lines
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Quoted 6 lines
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting all copies. Thank you.