aprekates writes:
In https://wiki.debian.org/sudo it says:
In order for a user to run sudo, the user must belong to group=sudo.
But i see that adding a line in /etc/sudoers can allow me execute sudo
without being in the sudo group.
Do i miss sth or the wiki miss sth?
The Wiki isn't correct. Debian's default configuration of sudo allows
all users in the `sudo` group to run whatever they want:
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
But any other use of sudo, that is any custom rules, doesn't require the
user to be in the `sudo` group.
I've updated the Wiki to say
Debian's default configuration allows users in the sudo group to run
any command via sudo.
instead. Please remember that anyone can improve it ;-)
Ansgar