Generate root password at build
Hello,
I'm looking for an option in Buildroot (version 2010.05) to set an root password, that will be generate at build.
Is there a possibility?
Or does someone know a way via script?
Signature · 2 lines
Kind Regards Lars
Lars, All,
Quoted 3 lines · On Tuesday 03 August 2010 110341 Lars Lockenvitz wrote:
I'm looking for an option in Buildroot (version 2010.05) to set an root password, that will be generate at build.
Is there a possibility?
man 1 mkpasswd
Regards,
Yann E. MORIN.
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +0/33 662376056 | Software Designer | \ / CAMPAIGN | ^ | | --==< O_o >==-- '------------.-------: X AGAINST | /e\ There is no | | http://ymorin.is-a-geek.org/ | (*_*) | / \ HTML MAIL | """ conspiracy. | '------------------------------'-------'------------------'--------------------'
Quoted 7 lines
-----Original Message-----
From: buildroot-bounces at busybox.net [mailto:buildroot- bounces at busybox.net] On Behalf Of Lars Lockenvitz
Sent: Tuesday, 3 August 2010 7:04 PM
To: buildroot at uclibc.org
Subject: [Buildroot] Generate root password at build
Quoted 7 lines
Hello,
I'm looking for an option in Buildroot (version 2010.05) to set an root password, that will be generate at build.
Is there a possibility?Or does someone know a way via script?
This would be a very good feature to have in menuconfig. If I knew how to do it I'd implement it myself!
Paul.
Quoted 9 lines · Paul Jones
Quoted 9 lines
-----Original Message-----
From: buildroot-bounces at busybox.net [mailto:buildroot- bounces at busybox.net] On Behalf Of Lars Lockenvitz
Sent: Tuesday, 3 August 2010 7:04 PM
To: buildroot at uclibc.org
Subject: [Buildroot] Generate root password at buildHello,
Quoted 8 lines
Quoted 5 lines
I'm looking for an option in Buildroot (version 2010.05) to set an root password, that will be generate at build.
Is there a possibility?Or does someone know a way via script?
This would be a very good feature to have in menuconfig. If I knew how to do it I'd implement it myself!
It should be doable using the following syntax:
config BR2_RANDOM_PASSWORD
string
option env=RANDOM_PASSWD
Then you need to set RANDOM_PASSWD in the shell before you start menuconfig. The config symbol "BR2_RANDOM_PASSWD" will then have the value as read in the environment variable RANDOM_PASSWD.
So not elegant but possible.
Sam