* How to set root password
@ 2012-06-12 12:10 Patrick
2012-06-14 6:46 ` Patrick
2012-06-14 7:06 ` Andrei Gherzan
0 siblings, 2 replies; 6+ messages in thread
From: Patrick @ 2012-06-12 12:10 UTC (permalink / raw)
To: poky
Dear all,
How could I set the root password on my own images ?
I have found this post on the FAQ but no answer...
https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_set_or_change_the_root_password
Any help is welcome !
Patrick
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How to set root password
2012-06-12 12:10 How to set root password Patrick
@ 2012-06-14 6:46 ` Patrick
2012-06-14 6:55 ` Mihai Lindner
2012-06-14 7:06 ` Andrei Gherzan
1 sibling, 1 reply; 6+ messages in thread
From: Patrick @ 2012-06-14 6:46 UTC (permalink / raw)
To: poky
On 06/12/2012 02:10 PM, Patrick wrote:
> Dear all,
>
> How could I set the root password on my own images ?
> I have found this post on the FAQ but no answer...
> https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_set_or_change_the_root_password
>
>
> Any help is welcome !
>
> Patrick
> _______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
No body know how to change root password ?
I am quite sure poky have a feature for that, no ?
Patrick
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How to set root password
2012-06-14 6:46 ` Patrick
@ 2012-06-14 6:55 ` Mihai Lindner
0 siblings, 0 replies; 6+ messages in thread
From: Mihai Lindner @ 2012-06-14 6:55 UTC (permalink / raw)
To: poky
On 6/14/2012 9:46 AM, Patrick wrote:
> On 06/12/2012 02:10 PM, Patrick wrote:
>> Dear all,
>>
>> How could I set the root password on my own images ?
>> I have found this post on the FAQ but no answer...
>> https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_set_or_change_the_root_password
>>
>>
>> Any help is welcome !
>>
>> Patrick
>> _______________________________________________
>> poky mailing list
>> poky@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/poky
>
> No body know how to change root password ?
> I am quite sure poky have a feature for that, no ?
>
> Patrick
> _______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>
>
Hello,
Set // change the root password... when exactly? When building the images or when using it live / install?
--
Mihai Lindner
Yocto Project @ Intel OTC
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How to set root password
2012-06-12 12:10 How to set root password Patrick
2012-06-14 6:46 ` Patrick
@ 2012-06-14 7:06 ` Andrei Gherzan
2012-06-14 15:40 ` Patrick
1 sibling, 1 reply; 6+ messages in thread
From: Andrei Gherzan @ 2012-06-14 7:06 UTC (permalink / raw)
To: Patrick; +Cc: poky
[-- Attachment #1: Type: text/plain, Size: 762 bytes --]
You can find your answer in these places:
core-image.bbclass - at the end of this file
zap_root_password () - from image.bbclass
@g
*
*
On Tue, Jun 12, 2012 at 3:10 PM, Patrick <kpa_info@yahoo.fr> wrote:
> Dear all,
>
> How could I set the root password on my own images ?
> I have found this post on the FAQ but no answer...
> https://wiki.yoctoproject.org/**wiki/FAQ:How_do_I_set_or_**
> change_the_root_password<https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_set_or_change_the_root_password>
>
> Any help is welcome !
>
> Patrick
> ______________________________**_________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.**org/listinfo/poky<https://lists.yoctoproject.org/listinfo/poky>
>
[-- Attachment #2: Type: text/html, Size: 2002 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How to set root password
2012-06-14 7:06 ` Andrei Gherzan
@ 2012-06-14 15:40 ` Patrick
2012-06-14 17:19 ` Andrei Gherzan
0 siblings, 1 reply; 6+ messages in thread
From: Patrick @ 2012-06-14 15:40 UTC (permalink / raw)
To: Andrei Gherzan; +Cc: poky
On 06/14/2012 09:06 AM, Andrei Gherzan wrote:
> You can find your answer in these places:
>
> core-image.bbclass - at the end of this file
> zap_root_password () - from image.bbclass
>
I could see that if debug-tweaks is in IMAGE_FEATURES the root password
is set to *, but we would like to set a real password.
Do we have to generate a password hash and put it in /etc/passwd ?
Patrick
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How to set root password
2012-06-14 15:40 ` Patrick
@ 2012-06-14 17:19 ` Andrei Gherzan
0 siblings, 0 replies; 6+ messages in thread
From: Andrei Gherzan @ 2012-06-14 17:19 UTC (permalink / raw)
To: Patrick; +Cc: poky
[-- Attachment #1: Type: text/plain, Size: 658 bytes --]
Indeed. You can sed
root::0:0:root:/home/root:/bin/sh
from base-passwd.
This was how i did it. Don't know of there another solution on this.
@g
On Thu, Jun 14, 2012 at 6:40 PM, Patrick <kpa_info@yahoo.fr> wrote:
> On 06/14/2012 09:06 AM, Andrei Gherzan wrote:
>
>> You can find your answer in these places:
>>
>> core-image.bbclass - at the end of this file
>> zap_root_password () - from image.bbclass
>>
>>
> I could see that if debug-tweaks is in IMAGE_FEATURES the root password is
> set to *, but we would like to set a real password.
>
> Do we have to generate a password hash and put it in /etc/passwd ?
>
> Patrick
>
[-- Attachment #2: Type: text/html, Size: 1368 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-06-14 17:20 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-12 12:10 How to set root password Patrick
2012-06-14 6:46 ` Patrick
2012-06-14 6:55 ` Mihai Lindner
2012-06-14 7:06 ` Andrei Gherzan
2012-06-14 15:40 ` Patrick
2012-06-14 17:19 ` Andrei Gherzan
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.