user.eclass: Do not create user-group automatically
authorMichał Górny <mgorny@gentoo.org>
Wed, 29 May 2019 17:42:07 +0000 (19:42 +0200)
committerMichał Górny <mgorny@gentoo.org>
Thu, 20 Jun 2019 08:16:37 +0000 (10:16 +0200)
Closes: https://bugs.gentoo.org/512220
Signed-off-by: Michał Górny <mgorny@gentoo.org>
eclass/user.eclass

index 18940f1505f1cde14b09eb748c6d6bc4b004d482..8935c338e1bb1c0d6883bb389cf7d1b617ec1faa 100644 (file)
@@ -209,7 +209,7 @@ enewuser() {
                ;;
 
        *)
-               useradd -r "${opts[@]}" "${euser}" || die
+               useradd -N -r "${opts[@]}" "${euser}" || die
                ;;
        esac