1 |
On Thursday, 26 May 2022 21:54:50 BST Walter Dnes wrote: |
2 |
> I just ran an update and noticed that etc-update wants to change the |
3 |
> layout of /etc/sudoers, specifically... |
4 |
> |
5 |
> |
6 |
###################################################################### |
7 |
> |
8 |
> ## |
9 |
> ## User privilege specification |
10 |
> ## |
11 |
> -root ALL=(ALL) ALL |
12 |
> +root ALL=(ALL:ALL) ALL |
13 |
> |
14 |
> ## Uncomment to allow members of group wheel to execute any command |
15 |
> -# %wheel ALL=(ALL) ALL |
16 |
> +# %wheel ALL=(ALL:ALL) ALL |
17 |
> |
18 |
> ## Same thing without a password |
19 |
> -# %wheel ALL=(ALL) NOPASSWD: ALL |
20 |
> +# %wheel ALL=(ALL:ALL) NOPASSWD: ALL |
21 |
> |
22 |
> ## Uncomment to allow members of group sudo to execute any command |
23 |
> -# %sudo ALL=(ALL) ALL |
24 |
> +# %sudo ALL=(ALL:ALL) ALL |
25 |
> |
26 |
> ## Uncomment to allow any user to run sudo if they know the password |
27 |
> ## of the user they are running the command as (root by default). |
28 |
> # Defaults targetpw # Ask for the password of the target user |
29 |
> -# ALL ALL=(ALL) ALL # WARNING: only use this together with 'Defaults |
30 |
> targetpw' +# ALL ALL=(ALL:ALL) ALL # WARNING: only use this together with |
31 |
> 'Defaults targetpw' |
32 |
> |
33 |
> |
34 |
###################################################################### |
35 |
> |
36 |
> ...and similar changes for /etc/sudoers.dist. What is this about, and |
37 |
> should I go ahead? |
38 |
|
39 |
I did it without thinking about it, and nothing untoward has befallen. Yet. |
40 |
|
41 |
-- |
42 |
Regards, |
43 |
Peter. |