Gentoo Archives: gentoo-user

From: Grant Taylor <gtaylor@×××××××××××××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Update to /etc/sudoers disables wheel users!!!
Date: Wed, 26 Oct 2022 19:27:59
Message-Id: d5e055d6-0d5b-94bb-8f8f-e2dcf8e1cc88@spamtrap.tnetconsulting.net
In Reply to: Re: [gentoo-user] Update to /etc/sudoers disables wheel users!!! by Ramon Fischer
1 On 10/26/22 12:04 PM, Ramon Fischer wrote:
2 > Also a very interesting question!
3
4 }:-)
5
6 > I just tested this with "visudo" and it does not intercept this.
7
8 Nor should it.
9
10 It's perfect legitimate sudoers syntax.
11
12 The location; /etc/sudoers.d/zzzzzzzzzz vs the end of /etc/sudoers
13 (proper), doesn't matter.
14
15 > If "su" is disabled, you are locked out and you are forced to enter your
16 > system via a live USB stick and a "chroot" in order to edit
17 > "/etc/shadow" to set a root password via "mkpasswd" and enable "su".
18
19 Which is one of the reasons that it's important to have (set) a known
20 root password.
21
22
23
24 --
25 Grant. . . .
26 unix || die