Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: Gentoo Users List <gentoo-user@l.g.o>
Subject: [gentoo-user] Change in sudoers format?
Date: Thu, 26 May 2022 20:55:06
Message-Id: Yo/pGlSkEjZGAa4T@waltdnes.org
1 I just ran an update and noticed that etc-update wants to change the
2 layout of /etc/sudoers, specifically...
3
4 ######################################################################
5
6 ##
7 ## User privilege specification
8 ##
9 -root ALL=(ALL) ALL
10 +root ALL=(ALL:ALL) ALL
11
12 ## Uncomment to allow members of group wheel to execute any command
13 -# %wheel ALL=(ALL) ALL
14 +# %wheel ALL=(ALL:ALL) ALL
15
16 ## Same thing without a password
17 -# %wheel ALL=(ALL) NOPASSWD: ALL
18 +# %wheel ALL=(ALL:ALL) NOPASSWD: ALL
19
20 ## Uncomment to allow members of group sudo to execute any command
21 -# %sudo ALL=(ALL) ALL
22 +# %sudo ALL=(ALL:ALL) ALL
23
24 ## Uncomment to allow any user to run sudo if they know the password
25 ## of the user they are running the command as (root by default).
26 # Defaults targetpw # Ask for the password of the target user
27 -# ALL ALL=(ALL) ALL # WARNING: only use this together with 'Defaults targetpw'
28 +# ALL ALL=(ALL:ALL) ALL # WARNING: only use this together with 'Defaults targetpw'
29
30 ######################################################################
31
32 ...and similar changes for /etc/sudoers.dist. What is this about, and
33 should I go ahead?
34
35 --
36 Walter Dnes <waltdnes@××××××××.org>
37 I don't run "desktop environments"; I run useful applications

Replies

Subject Author
Re: [gentoo-user] Change in sudoers format? Michael <confabulate@××××××××.com>
Re: [gentoo-user] Change in sudoers format? Peter Humphrey <peter@××××××××××××.uk>
Re: [gentoo-user] Change in sudoers format? Walter Dnes <waltdnes@××××××××.org>