From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MiyDKQH9PV+rMQAA0tVLHw (envelope-from ) for ; Thu, 20 Aug 2020 04:33:05 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id EP4NJQH9PV/jVwAAbx9fmQ (envelope-from ) for ; Thu, 20 Aug 2020 04:33:05 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 414CE9404C7 for ; Thu, 20 Aug 2020 04:33:05 +0000 (UTC) Received: from localhost ([::1]:56616 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k8cG8-0006NM-28 for larch@yhetil.org; Thu, 20 Aug 2020 00:33:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34842) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8cFz-0006NC-Az for guix-devel@gnu.org; Thu, 20 Aug 2020 00:32:55 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:48015) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8cFx-0002jl-Ci for guix-devel@gnu.org; Thu, 20 Aug 2020 00:32:55 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 82E625C00D4; Thu, 20 Aug 2020 00:32:52 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 20 Aug 2020 00:32:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantherx.org; h= date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=fm3; bh= JDXFuhohwyXtaQsCvgYhoGTeOCpX5vDl0nvFzdk3TQM=; b=aS3N5mJ2zNO5xwOW efiv03PApHzGBeJWJQnTnr7FlSU1dg+pKe/lY+TFtJe1VtwcxZeceq1IeBO22ppp Tg7TEdMxUfJ8pbw3Pz7TPbMd8ksNfRHzhieo0VOvu3DqF2gtfkGfTTb2SOYjKQhB ouosDWPmsc7t3OmI0R37Ltft7/lEuBH3xRJ/r4GhSRH1ET6S24ZK72kigE6Ygkpv /pcx6SQQlBXrm9TVO9Ufqhf8gdS24CrzblancfRr0BFSrtcUEQrXs5G5DSdk9Hb0 vD9RJQmcp6G8YkiKnuRVd1DF8fmNaohKNxe2+3byJesyiohreTr8EhKyQsff4Rwp xo8ilA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=JDXFuhohwyXtaQsCvgYhoGTeOCpX5vDl0nvFzdk3T QM=; b=QcT1LKJrwXLlXLNY2u3Be9EjAcTjy3aSn8+azU9RP+kiPgriGeXrbMaGk mRVv9YTd+RutOFktvtDbxC+zGuOnS75NZp0uFVoBeZtkx93sRM5I75MOM0o2VL0a iavvWWnp45EP8ixQ7pbdgCZjcVZNuZKuYGuMKk7pJD3MPeJTbPVfi/Jiz27+fgip 09L6KR2JFMePY5uV+A63jcOR6XN6EI1cxO6u7xPZGJIR1nHbj2d+xe4r14w6u0sE cwTjUaPh84366J8vSAitnYFnDtSF0dWvKku/uXbs1G9S7pPukDB+ci652XyEST1i PMZLYykFMVMqggEjJiIuv6Ks15Z1g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedruddtledgieejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfgjfhhoofggtgfgsehtjeertdertddvnecuhfhrohhmpeftvgii rgcutehlihiirgguvghhucforghjugcuoehrrdhmrghjugesphgrnhhthhgvrhigrdhorh hgqeenucggtffrrghtthgvrhhnpeejkedtleehgeefleeugfejfedvudektdegfeethfeg ieegkeejheetheejjeejtdenucffohhmrghinhepphgrnhhthhgvrhigrdhorhhgnecukf hppedukeehrddvtdelrdduleeirddufeeknecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomheprhdrmhgrjhgusehprghnthhhvghrgidrohhrgh X-ME-Proxy: Received: from panther-arch.localdomain (unknown [185.209.196.138]) by mail.messagingengine.com (Postfix) with ESMTPA id 4498D30600A6; Thu, 20 Aug 2020 00:32:51 -0400 (EDT) Date: Thu, 20 Aug 2020 09:02:48 +0430 From: Reza Alizadeh Majd To: Julien Lepiller Subject: Re: Allow to add more than one group for service user Message-ID: <20200820090248.18dacb0e@panther-arch.localdomain> In-Reply-To: <02CEB542-5515-4A42-9349-B598738FBE0C@lepiller.eu> References: <20200819121659.2d1d7fb6@panther-arch.localdomain> <20200819204834.4136d041@panther-arch.localdomain> <02CEB542-5515-4A42-9349-B598738FBE0C@lepiller.eu> Organization: PantherX X-Mailer: Claws Mail 3.17.6 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=66.111.4.25; envelope-from=r.majd@pantherx.org; helo=out1-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/20 00:32:52 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pantherx.org header.s=fm3 header.b=aS3N5mJ2; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=QcT1LKJr; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -1.21 X-TUID: /QbLG6E7bhif On Wed, 19 Aug 2020 14:13:43 -0400 Julien Lepiller wrote: > From what I understand, the generated /etc/group is correct, but > loging as kyc-service, even after a reboot, you don't see the > additional groups? when I login normally, using `su - kyc-service` all groups are in place and I can see both the primary and supplementary groups using `groups` command. but, when I switch to a shell that is run by service, `groups` command shows me only the primary group of the user: --8<---------------cut here---------------start------------->8--- sh-5.0$ whoami kyc-service sh-5.0$ groups kyc-service --8<---------------cut here---------------end--------------->8--- -- Reza Alizadeh Majd PantherX Team https://www.pantherx.org/