# HG changeset patch # User Oleksandr Gavenko # Date 1707402539 -7200 # Node ID eb3795b7211718ab4caa3450c9c228a3f28f930e # Parent f344c5cd259a5f7cd9d5c249f93a0af42adc2187# Parent 63472ea9e73b1c54ba4eac9519a3e7e0c83a710e merged diff -r f344c5cd259a -r eb3795b72117 sudo.rst --- a/sudo.rst Sun Jan 21 00:19:10 2024 +0200 +++ b/sudo.rst Thu Feb 08 16:28:59 2024 +0200 @@ -6,15 +6,19 @@ .. contents:: :local: -Stop sudo asking for password. -============================== +Stop sudo asking for password +============================= :: username ALL =(ALL) NOPASSWD: ALL or:: - @group ALL =(ALL) NOPASSWD: ALL + @group ALL=(ALL) NOPASSWD: ALL + +The standard group is ``sudo``, so the record will look like:: + + %sudo ALL=(ALL:ALL) NOPASSWD: ALL Change user/primary group for executed command. ===============================================