public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: "Michał Górny" <mgorny@gentoo.org>
Subject: [gentoo-dev] [PATCH 1/9] user.eclass: Do not create user-group automatically
Date: Thu, 30 May 2019 14:50:31 +0200	[thread overview]
Message-ID: <20190530125039.15591-2-mgorny@gentoo.org> (raw)
In-Reply-To: <20190530125039.15591-1-mgorny@gentoo.org>

Closes: https://bugs.gentoo.org/512220
Signed-off-by: Michał Górny <mgorny@gentoo.org>
---
 eclass/user.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/user.eclass b/eclass/user.eclass
index f6a10a6bee28..a6c6ad82b7a0 100644
--- a/eclass/user.eclass
+++ b/eclass/user.eclass
@@ -246,7 +246,7 @@ enewuser() {
 		;;
 
 	*)
-		useradd -r "${opts[@]}" "${euser}" || die
+		useradd -N -r "${opts[@]}" "${euser}" || die
 		;;
 	esac
 
-- 
2.22.0.rc1



  reply	other threads:[~2019-05-30 12:51 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-30 12:50 [gentoo-dev] [PATCH 0/9] User/group package draft implementation Michał Górny
2019-05-30 12:50 ` Michał Górny [this message]
2019-05-30 12:50 ` [gentoo-dev] [PATCH 2/9] user.eclass: Prevent automated home creation in useradd Michał Górny
2019-05-30 12:50 ` [gentoo-dev] [PATCH 3/9] user.eclass: Support disabling home directory creation Michał Górny
2019-05-30 12:50 ` [gentoo-dev] [PATCH 4/9] user.eclass: Support forcing specified UID/GID Michał Górny
2019-05-30 12:50 ` [gentoo-dev] [PATCH 5/9] user.eclass: Die if no free UID/GID is found Michał Górny
2019-05-31  8:02   ` Jaco Kroon
2019-05-30 12:50 ` [gentoo-dev] [PATCH 6/9] {group,user}.eclass: WIP eclasses to maintain users/groups Michał Górny
2019-05-30 12:50 ` [gentoo-dev] [PATCH 7/9] group/ftp: Add 'ftp' group (GID 21) Michał Górny
2019-05-30 12:50 ` [gentoo-dev] [PATCH 8/9] user/ftp: Add 'ftp' user (UID 21) Michał Górny
2019-05-30 12:50 ` [gentoo-dev] [PATCH 9/9] net-ftp/ftpbase: Utilize {group,user}/ftp Michał Górny
2019-05-30 20:17 ` [gentoo-dev] [PATCH 0/9] User/group package draft implementation James Le Cuirot
2019-05-31 14:02 ` William Hubbs
2019-05-31 14:08   ` Michał Górny
2019-05-31 16:37     ` William Hubbs
2019-05-31 16:52       ` Michał Górny

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=20190530125039.15591-2-mgorny@gentoo.org \
    --to=mgorny@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox