From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id u/sUEFFKsWIWQgAAbAwnHQ (envelope-from ) for ; Tue, 21 Jun 2022 06:34:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id aKgSD1FKsWLxOgAA9RJhRA (envelope-from ) for ; Tue, 21 Jun 2022 06:34:25 +0200 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 ED2693FE8F for ; Tue, 21 Jun 2022 06:34:24 +0200 (CEST) Received: from localhost ([::1]:48812 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o3Vaq-00039e-7D for larch@yhetil.org; Tue, 21 Jun 2022 00:34:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38914) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3VaE-00039M-EN for guix-devel@gnu.org; Tue, 21 Jun 2022 00:33:46 -0400 Received: from knopi.disroot.org ([178.21.23.139]:33850) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3Va3-00028B-NS for guix-devel@gnu.org; Tue, 21 Jun 2022 00:33:39 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 6525841819 for ; Tue, 21 Jun 2022 06:33:31 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q_isKpneIOm1 for ; Tue, 21 Jun 2022 06:33:30 +0200 (CEST) Date: Tue, 21 Jun 2022 04:33:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1655786009; bh=6RtE/nseFCU2amwvA8JhDYpPhUVIKyzNLd4/Ta/1+rg=; h=Date:From:To:Subject; b=OzA8pWSaqa8wiscunu//Fj+mh+hC5D0xgH09R5KKHaNlsJrzNM1yLUhx4Se6HW3Nn G8fbSzCuESbF5wlOI4S/lJxxS13bFCil4qpe1dcW0wuVsyoT4PhXpOGX5sSum2pSGK B/GmPEkXxQRMSOZuiejHtXbmDER8+RGDi0eavIRxpxbS7C6aqD5bXAkErtdnnt5Hqn Ec3eLoIetXRk0YiQQjtEH1gkK5RKp/+cBmZb1bcLIOL2Y71rWMCDWQf+kC4924okmT r75XaJOzviJELo4/scso3pUPXcJuHSkgw27JpPU0CNlQ34PxaKSA47lrm90JfLhtdk 7ekCcJcaS9yEQ== From: kiasoc5 To: guix-devel@gnu.org Subject: Why is greetd greeter user in so many groups? Message-ID: <20220621043327.21e0d15b@aria> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=kiasoc5@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655786065; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=MBk451TOY/O6PqM4r1KzmyJBVw1MawolPmamLhin2c0=; b=q5xlghKVbAttdRcFOudzCz030qWeCja9Who1XkNz2LbhVaOl9QCoiilIM2K4b+6vsMq8dN 1+RDm6pbiSK1OJgfcgHDmU18ZSjoaWE3xewS3eFnwfDu7TA0dQYFQNuLQXUE0VCb6Wfs2r h1aicMyWbhgKbXILVJp8do2RDxzEhqbyFgUQG1mYeR6sXsJQmSFGUF8wHEjYkBnBpm5VAP KQcLfgxVfdKVLTXeESfFgqBTEHw5GfHisNTVPhYBiPqdat8G7sDrZhCxMrWJoAzWM8T4Z3 Iwc7cJfZaCA1n/oG+J6r7pH3KO0za4LBjmUBloofv0H3T4lHdV4tVdEJE2wnXg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655786065; a=rsa-sha256; cv=none; b=g2uzz2Zd+9TJnwTP78ohrMx+Icymsm5l/cE2X1mIzc34KbXRAI60j0gKwdwawUvZFzEzOW E4cN6Pmecv9iSowqKpRDKZMrUwng5srTdA+pHboV5gd55G5e2rGTgfI1ta/OoUnptKc96g coBBUaHdWjE2O4kvbDyTk8nZYzP42AfdEtE6SKucVhHg+5mo4mwQDe1GzHnL19sN9NCEEQ X4hxXGR9AzBR3E7cYF/Co6R+AhmnGZwAc86Ubg6lbV/TZi7r4ZQaC5hom4NVlObbzUYpR5 ZKVBDYfFh035JGCngg3KBXFGuu8QIvD4B/vOYmy8vKrUkNU5acEhiO0aG/QD5A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=OzA8pWSa; dmarc=pass (policy=quarantine) header.from=disroot.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.77 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=OzA8pWSa; dmarc=pass (policy=quarantine) header.from=disroot.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: ED2693FE8F X-Spam-Score: -3.77 X-Migadu-Scanner: scn0.migadu.com X-TUID: 34GmYxtWZ0/l Hooray, greetd has been merged! [1] However, according to upstream the greeter user only needs to be in the video and greeter groups. [2] Whereas the guix definition for the greeter user has many more groups: (define %greetd-accounts (list (user-account (name "greeter") (group "wheel") (supplementary-groups '("users" "tty" "input" "video" "audio")) (system? #t)))) I can understand the need for tty and input, but why does the greeter user need the wheel and audio? 1. https://issues.guix.gnu.org/49969 2. https://git.sr.ht/~kennylevinsen/greetd/#manually-from-source