Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] skeleton: add "operator" group
@ 2015-10-28 16:09 Jérôme Pouiller
  2015-10-28 22:35 ` Peter Korsgaard
  0 siblings, 1 reply; 3+ messages in thread
From: Jérôme Pouiller @ 2015-10-28 16:09 UTC (permalink / raw)
  To: buildroot

gid 37 was referenced in /etc/passwd but not in /etc/group

Signed-off-by: J?r?me Pouiller <jezz@sysmic.org>
---
 system/skeleton/etc/group | 1 +
 1 file changed, 1 insertion(+)

diff --git a/system/skeleton/etc/group b/system/skeleton/etc/group
index ba20e90..c813da2 100644
--- a/system/skeleton/etc/group
+++ b/system/skeleton/etc/group
@@ -16,6 +16,7 @@ video:x:28:
 audio:x:29:
 tape:x:32:
 www-data:x:33:
+operator:x:37:
 utmp:x:43:
 plugdev:x:46:
 staff:x:50:
-- 
2.1.4

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

* [Buildroot] [PATCH] skeleton: add "operator" group
  2015-10-28 16:09 [Buildroot] [PATCH] skeleton: add "operator" group Jérôme Pouiller
@ 2015-10-28 22:35 ` Peter Korsgaard
  2015-10-29 10:08   ` Jérôme Pouiller
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Korsgaard @ 2015-10-28 22:35 UTC (permalink / raw)
  To: buildroot

>>>>> "J?r?me" == J?r?me Pouiller <jezz@sysmic.org> writes:

 > gid 37 was referenced in /etc/passwd but not in /etc/group
 > Signed-off-by: J?r?me Pouiller <jezz@sysmic.org>
 > ---
 >  system/skeleton/etc/group | 1 +
 >  1 file changed, 1 insertion(+)

 > diff --git a/system/skeleton/etc/group b/system/skeleton/etc/group
 > index ba20e90..c813da2 100644
 > --- a/system/skeleton/etc/group
 > +++ b/system/skeleton/etc/group
 > @@ -16,6 +16,7 @@ video:x:28:
 >  audio:x:29:
 >  tape:x:32:
 >  www-data:x:33:
 > +operator:x:37:

Committed, thanks.

I guess this means it wasn't used anywhere? Perhaps we should better
remove the user/group?

-- 
Bye, Peter Korsgaard

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

* [Buildroot] [PATCH] skeleton: add "operator" group
  2015-10-28 22:35 ` Peter Korsgaard
@ 2015-10-29 10:08   ` Jérôme Pouiller
  0 siblings, 0 replies; 3+ messages in thread
From: Jérôme Pouiller @ 2015-10-29 10:08 UTC (permalink / raw)
  To: buildroot

On Wednesday 28 October 2015 23:35:15 Peter Korsgaard wrote:
> >>>>> "J?r?me" == J?r?me Pouiller <jezz@sysmic.org> writes:
>  > gid 37 was referenced in /etc/passwd but not in /etc/group
>  > Signed-off-by: J?r?me Pouiller <jezz@sysmic.org>
>  > ---
>  > 
>  >  system/skeleton/etc/group | 1 +
>  >  1 file changed, 1 insertion(+)
>  > 
>  > diff --git a/system/skeleton/etc/group b/system/skeleton/etc/group
>  > index ba20e90..c813da2 100644
>  > --- a/system/skeleton/etc/group
>  > +++ b/system/skeleton/etc/group
>  > 
>  > @@ -16,6 +16,7 @@ video:x:28:
>  >  audio:x:29:
>  >  tape:x:32:
>  > 
>  >  www-data:x:33:
>  > +operator:x:37:
> Committed, thanks.
> 
> I guess this means it wasn't used anywhere? Perhaps we should better
> remove the user/group?

In fact, I think many users/groups are useless. According to [1] and 
after checked groups used by udev:

  - groups "wheel", "operator", "staff", "lock", "netdev" and users
    "operator", "sync" can been safely removed

  - I think users/groups "daemon", "bin" and "sys" are now obsolete and
    can also been removed

  - "mail" and "www-data" should only exist if an MTA/webserver is
    enabled.

  - udev use "input" group (currently "input" group exist only if
    systemd is enabled)

  - group of /etc/shadow should be "shadow"

In add, since skeleton is now a real package we may define users and 
groups using SKELETON_USERS variable instead of maintaining 
passwd/group/shadow.

I can do these changes if there is a consensus on it.

[1] 
http://wiki.gacq.com/index.php/Debian_default_system_groups_description

BR,

-- 
J?r?me Pouiller, Sysmic
Embedded Linux specialist
http://www.sysmic.fr

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

end of thread, other threads:[~2015-10-29 10:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-28 16:09 [Buildroot] [PATCH] skeleton: add "operator" group Jérôme Pouiller
2015-10-28 22:35 ` Peter Korsgaard
2015-10-29 10:08   ` Jérôme Pouiller

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