Discussion:
buildroot needs a root pasword, why ??
Sabri Altunbas
2013-05-24 17:36:52 UTC
Permalink
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
Yann E. MORIN
2013-05-24 17:43:20 UTC
Permalink
Sabri, All,
Post by Sabri Altunbas
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. |
'------------------------------^-------^------------------^--------------------'
Yann E. MORIN
2013-05-24 21:30:49 UTC
Permalink
Sabri,

1. Do not top-post, this is considered bad-behaviour,
2. keep the list copied on replies.
If I press ENTER I get this error message
Welcome to Buildroot
buildroot login: root
Login incorrect
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. |
'------------------------------^-------^------------------^--------------------'
Thomas Petazzoni
2013-05-25 13:18:30 UTC
Permalink
Hello,
If I press ENTER I get this error message
Welcome to Buildroot
buildroot login: root
Login incorrect
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
Sabri Altunbas
2013-05-25 14:18:36 UTC
Permalink
Hi,
Gesendet: Samstag, 25. Mai 2013 15:19
Thomas, fein to meet you.
If I press ENTER I get this error message
Welcome to Buildroot
buildroot login: root
Login incorrect
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
Sabri Altunbas
2013-05-30 09:44:25 UTC
Permalink
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

Loading...