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 1A6E3158020 for ; Wed, 26 Oct 2022 02:35:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6C45DE07EE; Wed, 26 Oct 2022 02:35:21 +0000 (UTC) Received: from barracuda.ebox.ca (barracuda.ebox.ca [96.127.255.19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BA629E07D3 for ; Wed, 26 Oct 2022 02:35:20 +0000 (UTC) X-ASG-Debug-ID: 1666751684-0c856e16800b1c0001-LfjuLa Received: from smtp.ebox.ca (smtp.ebox.ca [96.127.255.82]) by barracuda.ebox.ca with ESMTP id 3qfQVR8GptSEAIHc (version=TLSv1 cipher=AES128-SHA bits=128 verify=NO) for ; Tue, 25 Oct 2022 22:34:44 -0400 (EDT) X-Barracuda-Envelope-From: waltdnes@waltdnes.org X-Barracuda-RBL-Trusted-Forwarder: 96.127.255.82 Received: from waltdnes.org (unknown [198.58.217.41]) by smtp.ebox.ca (Postfix) with SMTP id F1975441B21 for ; Tue, 25 Oct 2022 22:34:42 -0400 (EDT) Received: by waltdnes.org (sSMTP sendmail emulation); Tue, 25 Oct 2022 22:34:42 -0400 X-Barracuda-RBL-IP: 198.58.217.41 X-Barracuda-Effective-Source-IP: 198-58-217-41.on.cable.ebox.net[198.58.217.41] X-Barracuda-Apparent-Source-IP: 198.58.217.41 From: "Walter Dnes" Date: Tue, 25 Oct 2022 22:34:42 -0400 To: Gentoo Users List Subject: [gentoo-user] Update to /etc/sudoers disables wheel users!!! Message-ID: X-ASG-Orig-Subj: Update to /etc/sudoers disables wheel users!!! 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Barracuda-Connect: smtp.ebox.ca[96.127.255.82] X-Barracuda-Start-Time: 1666751684 X-Barracuda-Encrypted: AES128-SHA X-Barracuda-URL: https://96.127.255.19:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at ebox.ca X-Barracuda-Scan-Msg-Size: 1071 X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.46 X-Barracuda-Spam-Status: No, SCORE=0.46 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=5.0 tests=PLING_PLING X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.101681 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.46 PLING_PLING Subject has lots of exclamation marks X-Archives-Salt: 351fdab8-6dab-4db1-ba57-09462719d121 X-Archives-Hash: fcb93f3e158ff0cbe84416454a45821b I had the following in my /etc/sudoers before tonight's update... ## Uncomment to allow members of group wheel to execute any command %wheel ALL=(ALL:ALL) ALL ## Same thing without a password %wheel ALL=(ALL:ALL) NOPASSWD: ALL ...and my regular user was able to run commands and scripts via /usr/bin/sudo which had been authorized in files in the /etc/sudoers.d directory. Tonight's update changed /etc/sudoers to... ## Uncomment to allow members of group wheel to execute any command # %wheel ALL=(ALL:ALL) ALL ## Same thing without a password # %wheel ALL=(ALL:ALL) NOPASSWD: ALL I was "like WTF?!?" but I let it through. sudo stopped working for my regular user. As root, I went in and manually reverted the update with visudo. Is this a bug? -- I've seen things, you people wouldn't believe; Gopher, Netscape with frames, the first Browser Wars. Searching for pages with AltaVista, pop-up windows self-replicating, trying to uninstall RealPlayer. All those moments, will be lost in time like tears in rain... time to die.