From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AD385158020 for ; Wed, 26 Oct 2022 16:22:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AD9AFE091A; Wed, 26 Oct 2022 16:22:04 +0000 (UTC) Received: from tncsrv06.tnetconsulting.net (tncsrv06.tnetconsulting.net [IPv6:2600:3c00:e000:1e9::8849]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 57740E0903 for ; Wed, 26 Oct 2022 16:22:03 +0000 (UTC) Received: from Contact-TNet-Consulting-Abuse-for-assistance by tncsrv06.tnetconsulting.net (8.15.2/8.15.2/Debian-3) with ESMTPSA id 29QGM2Mv030491 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Wed, 26 Oct 2022 11:22:03 -0500 Subject: Re: [gentoo-user] Update to /etc/sudoers disables wheel users!!! To: gentoo-user@lists.gentoo.org References: <7b461fc5-25fa-f07b-aedf-ea538c424bb5@spamtrap.tnetconsulting.net> From: Grant Taylor Organization: TNet Consulting Message-ID: <84d6e3ed-2bd8-720b-b158-eb2cd534fe39@spamtrap.tnetconsulting.net> Date: Wed, 26 Oct 2022 10:21:06 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Archives-Salt: c909b6f6-a4fd-4c93-b8fb-9e596d349716 X-Archives-Hash: a4b570aa63dc128b73df08818188b930 On 10/25/22 9:44 PM, Matt Connell wrote: > Calm down. I am calm. The suggestion to not edit the (/etc/sudoeres) configuration file is one of those types of things that if nobody objects to then eventually not doing so will become defacto policy. So I objected, calmly, but with emphasis. > Nobody said you can't. Yet. (See above.) > I do. I do too. > Just know what you're doing and pay attention to what portage does > with package-managed configuration files. Yep. This is a common pitfall across multiple distributions / operating systems / platforms. > dispatch-conf even gives you the opportunity to edit it before > applying. Yep. I almost always reject the changes suggested on config files that I've modified and accept them on files that I've not modified. I really do wish that there was a better way to manage this, likely involving diffs / deltas. E.g. what changed between the N distribution file and the N+1 distribution file. Can that same change be safely applied to the N' distribution file to create the N'+1 file? -- Grant. . . . unix || die