Stop sudo asking for password.
--- a/sudo.rst Mon Jun 12 19:20:25 2023 +0300
+++ b/sudo.rst Mon Dec 25 14:48:27 2023 +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.
===============================================