Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Jérôme Pouiller" <jezz@sysmic.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] skeleton: add "operator" group
Date: Thu, 29 Oct 2015 11:08:50 +0100	[thread overview]
Message-ID: <1673086.6y1DTqGGku@sagittea> (raw)
In-Reply-To: <877fm67hb0.fsf@dell.be.48ers.dk>

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

      reply	other threads:[~2015-10-29 10:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1673086.6y1DTqGGku@sagittea \
    --to=jezz@sysmic.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox