All of lore.kernel.org
 help / color / mirror / Atom feed
* setting groups and users other than root
@ 2017-07-06  3:28 sourabh banerjee
  2017-07-06  5:01 ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: sourabh banerjee @ 2017-07-06  3:28 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 351 bytes --]

I have observed that the group and user default to root for unless I do
explicit chown and chgrp in the do_install step for a given recipe.

I have few recipes for which the group and user are to be set to something
other than root. Is there a way to achieve this? Such that the user and
group default to something else for these given recipes?

[-- Attachment #2: Type: text/html, Size: 3883 bytes --]

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

* Re: setting groups and users other than root
  2017-07-06  3:28 setting groups and users other than root sourabh banerjee
@ 2017-07-06  5:01 ` Khem Raj
  2017-07-07  6:27   ` Robert Berger
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2017-07-06  5:01 UTC (permalink / raw)
  To: sourabh banerjee; +Cc: yocto

On Wed, Jul 5, 2017 at 8:28 PM, sourabh banerjee <droid.baner@gmail.com> wrote:
> I have observed that the group and user default to root for unless I do
> explicit chown and chgrp in the do_install step for a given recipe.
>
> I have few recipes for which the group and user are to be set to something
> other than root. Is there a way to achieve this? Such that the user and
> group default to something else for these given recipes?
>

you can achieve it via already defined abstraction. Please read
http://www.yoctoproject.org/docs/2.3/ref-manual/ref-manual.html#ref-classes-useradd

>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>


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

* Re: setting groups and users other than root
  2017-07-06  5:01 ` Khem Raj
@ 2017-07-07  6:27   ` Robert Berger
  0 siblings, 0 replies; 3+ messages in thread
From: Robert Berger @ 2017-07-07  6:27 UTC (permalink / raw)
  To: Khem Raj, sourabh banerjee; +Cc: yocto

Hi,

On 2017-07-06 08:01, Khem Raj wrote:
> 
> you can achieve it via already defined abstraction. Please read
> http://www.yoctoproject.org/docs/2.3/ref-manual/ref-manual.html#ref-classes-useradd

You might want to read[1] "user and group configuration to be applied at 
the image level" as well

[1] 
http://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#ref-classes-extrausers

Regards,

Robert


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

end of thread, other threads:[~2017-07-07  6:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-06  3:28 setting groups and users other than root sourabh banerjee
2017-07-06  5:01 ` Khem Raj
2017-07-07  6:27   ` Robert Berger

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.