On Thu, Feb 20, 2025 at 5:46 PM Nicolas George <geo...@nsup.org> wrote:
> Jeffrey Walton (HE12025-02-20): > > and members of sudo can run any command. > > Is it because of this last line: > > > root ALL=(ALL:ALL) ALL > > > > sudo ALL=(ALL:ALL) ALL > # User privilege specification root ALL=(ALL:ALL) ALL # Allow members of group sudo to execute any command %sudo ALL=(ALL:ALL) ALL Root is the user account, %sudo is the sudo group. > > ? But does it mean the previous one gives sudo privileges to all members > of the root group? Or is it that the last line gives sudo privileges to > the sudo user, not group? > > Regards, > > -- > Nicolas George > > -- ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/ ⠈⠳⣄⠀⠀