All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Hatle <mark.hatle@windriver.com>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: user and group default policies
Date: Wed, 9 Nov 2011 16:38:50 -0600	[thread overview]
Message-ID: <4EBB00FA.7000007@windriver.com> (raw)

With shadow-utils enabled, a default user and group add policy is installed in
/etc/default/adduser.  This policy specifies that group "1000" is used when
adding new users, unless you specify a group.

Well, we don't have a user 1000 by default, which results in the warning:

useradd: group '1000' does not exist
useradd: the GROUP= configuration in /etc/default/useradd will be ignored

So my question is -- how should we resolve this.  What I see are a couple of
possibilities:

1) We create a default user "group"..  We then adjust the /etc/default/useradd
to use that number... (if we don't user 1000 we'd have to change it.)

2) Remove that setting..  I believe this means that useradd will always add a
group for each user added.

3) -- we do something else..

Any comments?  I'd like to fix this -- but I'm not sure historically if OE has
had a policy on this, or if we need to create one.. If we create one, it needs
to be reasonable for the majority of the oe-core uses.

--Mark



                 reply	other threads:[~2011-11-09 22:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4EBB00FA.7000007@windriver.com \
    --to=mark.hatle@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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 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.