All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] buildroot needs a root pasword, why ??
@ 2013-05-24 17:36 Sabri Altunbas
  2013-05-24 17:43 ` Yann E. MORIN
  0 siblings, 1 reply; 6+ messages in thread
From: Sabri Altunbas @ 2013-05-24 17:36 UTC (permalink / raw)
  To: buildroot


Hi, 
i installed buildroot-2013.02.tar.bz2 with sourcery codebench. I have not
actually defined pass word. Regardless a password is required. Can some body
give me some hints.

Thanks in advance

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

* [Buildroot] buildroot needs a root pasword, why ??
  2013-05-24 17:36 [Buildroot] buildroot needs a root pasword, why ?? Sabri Altunbas
@ 2013-05-24 17:43 ` Yann E. MORIN
       [not found]   ` <B2E777BEED5E4FB9A7E403CE15ED3A4A@M58p>
  0 siblings, 1 reply; 6+ messages in thread
From: Yann E. MORIN @ 2013-05-24 17:43 UTC (permalink / raw)
  To: buildroot

Sabri, All,

On 2013-05-24 19:36 +0200, Sabri Altunbas spake thusly:
> i installed buildroot-2013.02.tar.bz2 with sourcery codebench. I have not
> actually defined pass word. Regardless a password is required. Can some body
> give me some hints.

The default password is empty, just press ENTER at the password prompt.
That works on the console, maybe not if you try to log in via ssh.

If you try to log in via ssh, check your sshd settings to allow logins
with empty-password.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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

* [Buildroot] buildroot needs a root pasword, why ??
       [not found]   ` <B2E777BEED5E4FB9A7E403CE15ED3A4A@M58p>
@ 2013-05-24 21:30     ` Yann E. MORIN
  2013-05-25 13:18       ` Thomas Petazzoni
  0 siblings, 1 reply; 6+ messages in thread
From: Yann E. MORIN @ 2013-05-24 21:30 UTC (permalink / raw)
  To: buildroot

Sabri,

1. Do not top-post, this is considered bad-behaviour,
2. keep the list copied on replies.

On 2013-05-24 22:57 +0200, Sabri Altunbas spake thusly:
> If I press ENTER I get this error message
> 
> Welcome to Buildroot
> buildroot login: root
> Password: 
> Login incorrect
> buildroot login:

What version of Buildroot are you using?

For quite sometime now, the default password is the empty string.
However, if you forgot what password you've set, you can recover it by
looking at the .config file in the Buildroot tree:
    $ grep ROOT_PASSWD .config
    BR2_TARGET_GENERIC_ROOT_PASSWD=""

If it is not the empty string, then this is your password.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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

* [Buildroot] buildroot needs a root pasword, why ??
  2013-05-24 21:30     ` Yann E. MORIN
@ 2013-05-25 13:18       ` Thomas Petazzoni
  2013-05-25 14:18         ` Sabri Altunbas
  2013-05-30  9:44         ` Sabri Altunbas
  0 siblings, 2 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2013-05-25 13:18 UTC (permalink / raw)
  To: buildroot

Hello,

On Fri, 24 May 2013 23:30:49 +0200, Yann E. MORIN wrote:

> On 2013-05-24 22:57 +0200, Sabri Altunbas spake thusly:
> > If I press ENTER I get this error message
> > 
> > Welcome to Buildroot
> > buildroot login: root
> > Password: 
> > Login incorrect
> > buildroot login:

On what serial port device are you running the login prompt? Is this
serial port listed in /etc/securetty?

Thanks,

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] 6+ messages in thread

* [Buildroot] buildroot needs a root pasword, why ??
  2013-05-25 13:18       ` Thomas Petazzoni
@ 2013-05-25 14:18         ` Sabri Altunbas
  2013-05-30  9:44         ` Sabri Altunbas
  1 sibling, 0 replies; 6+ messages in thread
From: Sabri Altunbas @ 2013-05-25 14:18 UTC (permalink / raw)
  To: buildroot


Hi,

> Von: Thomas Petazzoni [mailto:thomas.petazzoni at free-electrons.com]
> Gesendet: Samstag, 25. Mai 2013 15:19


Thomas, fein to meet you.

> 
> > On 2013-05-24 22:57 +0200, Sabri Altunbas spake thusly:
> > > If I press ENTER I get this error message
> > >
> > > Welcome to Buildroot
> > > buildroot login: root
> > > Password:
> > > Login incorrect
> > > buildroot login:
> 
> On what serial port device are you running the login prompt? Is this
> serial port listed in /etc/securetty?

Inittab
..
..
# Put a getty on the serial port
ttyAMA0::respawn:/sbin/getty -L ttyAMA0 115200 vt100 # GENERIC_SERIAL
..
..

securetty
..
..
ttyS0
ttyS1
ttyS2
ttyS3
ttyAMA0
ttyAMA1
ttyAMA2
ttyAMA3
..
..

I selected sourcery toolchain. In attachement is my .config

Regards, S.Altunbas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config
Type: application/octet-stream
Size: 24824 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130525/5e4c503b/attachment-0001.obj>

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

* [Buildroot] buildroot needs a root pasword, why ??
  2013-05-25 13:18       ` Thomas Petazzoni
  2013-05-25 14:18         ` Sabri Altunbas
@ 2013-05-30  9:44         ` Sabri Altunbas
  1 sibling, 0 replies; 6+ messages in thread
From: Sabri Altunbas @ 2013-05-30  9:44 UTC (permalink / raw)
  To: buildroot

Hello,

i found here

http://buildroot-busybox.2317881.n4.nabble.com/Console-login-root-needing-a-
password-td15155.html

a thread regarding this topic. But as i understand it. It is no solution but
a workaround.

With "ttyAMA0::respawn:/bin/sh it works for me too


Regards,
S.Altunbas

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

end of thread, other threads:[~2013-05-30  9:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-24 17:36 [Buildroot] buildroot needs a root pasword, why ?? Sabri Altunbas
2013-05-24 17:43 ` Yann E. MORIN
     [not found]   ` <B2E777BEED5E4FB9A7E403CE15ED3A4A@M58p>
2013-05-24 21:30     ` Yann E. MORIN
2013-05-25 13:18       ` Thomas Petazzoni
2013-05-25 14:18         ` Sabri Altunbas
2013-05-30  9:44         ` Sabri Altunbas

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.