Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] builder: Add password for user
@ 2012-11-01  7:32 Saul Wold
  2012-11-01 15:30 ` Mark Hatle
  0 siblings, 1 reply; 3+ messages in thread
From: Saul Wold @ 2012-11-01  7:32 UTC (permalink / raw)
  To: openembedded-core

This is needed to allow openssh to work correctly for the Eclipse
plugin to have access to the build appliance to view/modify recipes
and lauch builds

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-graphics/builder/builder_0.1.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-graphics/builder/builder_0.1.bb b/meta/recipes-graphics/builder/builder_0.1.bb
index 5c12c14..d46e960 100644
--- a/meta/recipes-graphics/builder/builder_0.1.bb
+++ b/meta/recipes-graphics/builder/builder_0.1.bb
@@ -18,7 +18,8 @@ inherit useradd
 USERADD_PACKAGES = "${PN}"
 USERADD_PARAM_${PN} = "--system --create-home \
                        --groups video,tty,audio \
-                       --user-group ${PN}"
+                       --user-group ${PN} \
+                       --password ${PN}"
 
 do_install () {
 	install -d -m 755 ${D}${sysconfdir}/mini_x/session.d
-- 
1.7.7.6




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

* Re: [PATCH] builder: Add password for user
  2012-11-01  7:32 [PATCH] builder: Add password for user Saul Wold
@ 2012-11-01 15:30 ` Mark Hatle
  2012-11-01 15:38   ` Saul Wold
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Hatle @ 2012-11-01 15:30 UTC (permalink / raw)
  To: openembedded-core

On 11/1/12 2:32 AM, Saul Wold wrote:
> This is needed to allow openssh to work correctly for the Eclipse
> plugin to have access to the build appliance to view/modify recipes
> and lauch builds
>
> Signed-off-by: Saul Wold <sgw@linux.intel.com>
> ---
>   meta/recipes-graphics/builder/builder_0.1.bb |    3 ++-
>   1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/meta/recipes-graphics/builder/builder_0.1.bb b/meta/recipes-graphics/builder/builder_0.1.bb
> index 5c12c14..d46e960 100644
> --- a/meta/recipes-graphics/builder/builder_0.1.bb
> +++ b/meta/recipes-graphics/builder/builder_0.1.bb
> @@ -18,7 +18,8 @@ inherit useradd
>   USERADD_PACKAGES = "${PN}"
>   USERADD_PARAM_${PN} = "--system --create-home \
>                          --groups video,tty,audio \
> -                       --user-group ${PN}"
> +                       --user-group ${PN} \
> +                       --password ${PN}"

The above won't work.  The password passed to --password, must be in encrypted 
in crypt(3) format.

--Mark

>
>   do_install () {
>   	install -d -m 755 ${D}${sysconfdir}/mini_x/session.d
>




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

* Re: [PATCH] builder: Add password for user
  2012-11-01 15:30 ` Mark Hatle
@ 2012-11-01 15:38   ` Saul Wold
  0 siblings, 0 replies; 3+ messages in thread
From: Saul Wold @ 2012-11-01 15:38 UTC (permalink / raw)
  To: Mark Hatle; +Cc: openembedded-core

On 11/01/2012 08:30 AM, Mark Hatle wrote:
> On 11/1/12 2:32 AM, Saul Wold wrote:
>> This is needed to allow openssh to work correctly for the Eclipse
>> plugin to have access to the build appliance to view/modify recipes
>> and lauch builds
>>
>> Signed-off-by: Saul Wold <sgw@linux.intel.com>
>> ---
>>   meta/recipes-graphics/builder/builder_0.1.bb |    3 ++-
>>   1 files changed, 2 insertions(+), 1 deletions(-)
>>
>> diff --git a/meta/recipes-graphics/builder/builder_0.1.bb
>> b/meta/recipes-graphics/builder/builder_0.1.bb
>> index 5c12c14..d46e960 100644
>> --- a/meta/recipes-graphics/builder/builder_0.1.bb
>> +++ b/meta/recipes-graphics/builder/builder_0.1.bb
>> @@ -18,7 +18,8 @@ inherit useradd
>>   USERADD_PACKAGES = "${PN}"
>>   USERADD_PARAM_${PN} = "--system --create-home \
>>                          --groups video,tty,audio \
>> -                       --user-group ${PN}"
>> +                       --user-group ${PN} \
>> +                       --password ${PN}"
>
> The above won't work.  The password passed to --password, must be in
> encrypted in crypt(3) format.
>
Ah, thanks, turns out I also missed the PR Bump!

v2 coming

Sau!

> --Mark
>
>>
>>   do_install () {
>>       install -d -m 755 ${D}${sysconfdir}/mini_x/session.d
>>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
>



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

end of thread, other threads:[~2012-11-01 15:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-01  7:32 [PATCH] builder: Add password for user Saul Wold
2012-11-01 15:30 ` Mark Hatle
2012-11-01 15:38   ` Saul Wold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox