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 3FE19158020 for ; Wed, 26 Oct 2022 11:31:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 437C9E08EF; Wed, 26 Oct 2022 11:31:17 +0000 (UTC) Received: from mail-yw1-f174.google.com (mail-yw1-f174.google.com [209.85.128.174]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CF052E08C4 for ; Wed, 26 Oct 2022 11:31:16 +0000 (UTC) Received: by mail-yw1-f174.google.com with SMTP id 00721157ae682-369426664f9so143677517b3.12 for ; Wed, 26 Oct 2022 04:31:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/CI7W7QVHChFR+6WaDp4w9c9R1vgSw5DdEFvx2KfKrQ=; b=DRXdaeDM4VB/Q7LDQJEBZMFa909emKVf70vT0yoEDkPNMLhwmFPEcgxdl3Q4MtNyt8 yeZnLeC4lhcUeRs0Mc4//bIldx64cj8Dzt0uFtbSRS0aW6PUz8toO6atvl1P/fZFyBg7 ijeMmdzcwgyijxRVs/j9YIeWC1eRst0LewVrSFcsLMTCqx6y4r1u9nLYf2tDqIg3aQ9s HAWoZNIVj3VtowfoUWDeH5OIk0gZCoSxRUp23mafs8SigwivSZ4fLYzqj2Xt/1xFWoQD HOtaLPCqiUKNjAZ2YDAh9Qz0sRs4ZD/yQeLurdvGFURoH+LPWsyIesz9nu62PssZON/N +RMQ== X-Gm-Message-State: ACrzQf1tUScO5SNucatreS12e/cEWiZIVClhhR/y8cePG62XxwCW/6x6 2yhe+M6CnnXTg0PRSiiT2Et4qTXnjn3UmvRT6/K2Ib6uDbM= X-Google-Smtp-Source: AMsMyM4Os4zQLZsQ94nmzue2uhkNSrY2NzcvLub93kbvj2iJ+kU03DUKc/Daw6sSIDgLhDFYI5SFca8kneFNsbdn6rE= X-Received: by 2002:a0d:d5d4:0:b0:369:7b1b:1959 with SMTP id x203-20020a0dd5d4000000b003697b1b1959mr27187791ywd.370.1666783875655; Wed, 26 Oct 2022 04:31:15 -0700 (PDT) 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 References: In-Reply-To: From: Rich Freeman Date: Wed, 26 Oct 2022 07:31:04 -0400 Message-ID: Subject: Re: [gentoo-user] Update to /etc/sudoers disables wheel users!!! To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: 50952710-6b98-4db1-9df1-47a9030c36c0 X-Archives-Hash: db7fd4842b45d7a4dd1a88a5f957834a On Wed, Oct 26, 2022 at 3:42 AM Ramon Fischer wrote: > > I do not know, what the developers were thinking to encourage the user > to edit a default file, which gets potentially overwritten after each > package update... > > "etc-update" helps to have an eye on, but muscle memory and fast fingers > are sometimes faster. The Gentoo preference tends to be to follow upstream. So if sudo upstream distributes a file like this that has comments encouraging users to edit it, then that is likely how Gentoo will ship it. If sudo switched to moving everything into an include-based system UPSTREAM then Gentoo would probably start shipping that. If you look at the sudo ebuild you'll see that the config files are 100% upstream. If you look at things like systemd units or udev rules they're much more include-oriented, as this is the upstream preference. Gentoo has emphasized using config file protection early on, and doesn't have any official preference for using included config directories distro-wide. Portage has been moving in this direction for a while though (for the stuff in /etc/portage). -- Rich