* [Buildroot] Generate root password at build
@ 2010-08-03 9:03 Lars Lockenvitz
2010-08-03 9:20 ` Yann E. MORIN
2010-08-03 11:14 ` Paul Jones
0 siblings, 2 replies; 4+ messages in thread
From: Lars Lockenvitz @ 2010-08-03 9:03 UTC (permalink / raw)
To: buildroot
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?
--
Kind Regards
Lars
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] Generate root password at build
2010-08-03 9:03 [Buildroot] Generate root password at build Lars Lockenvitz
@ 2010-08-03 9:20 ` Yann E. MORIN
2010-08-03 11:14 ` Paul Jones
1 sibling, 0 replies; 4+ messages in thread
From: Yann E. MORIN @ 2010-08-03 9:20 UTC (permalink / raw)
To: buildroot
Lars, All,
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.
--
.-----------------.--------------------.------------------.--------------------.
| 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. |
'------------------------------'-------'------------------'--------------------'
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] Generate root password at build
2010-08-03 9:03 [Buildroot] Generate root password at build Lars Lockenvitz
2010-08-03 9:20 ` Yann E. MORIN
@ 2010-08-03 11:14 ` Paul Jones
2010-08-03 13:53 ` Sam Ravnborg
1 sibling, 1 reply; 4+ messages in thread
From: Paul Jones @ 2010-08-03 11:14 UTC (permalink / raw)
To: buildroot
> -----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
>
> 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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] Generate root password at build
2010-08-03 11:14 ` Paul Jones
@ 2010-08-03 13:53 ` Sam Ravnborg
0 siblings, 0 replies; 4+ messages in thread
From: Sam Ravnborg @ 2010-08-03 13:53 UTC (permalink / raw)
To: buildroot
On Tue, Aug 03, 2010 at 09:14:11PM +1000, Paul Jones wrote:
> > -----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
> >
> > 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!
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-08-03 13:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-03 9:03 [Buildroot] Generate root password at build Lars Lockenvitz
2010-08-03 9:20 ` Yann E. MORIN
2010-08-03 11:14 ` Paul Jones
2010-08-03 13:53 ` Sam Ravnborg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox