sudo.rst
changeset 2578 63472ea9e73b
parent 1912 8b81a8f0f692
equal deleted inserted replaced
2568:77977f357b83 2578:63472ea9e73b
     4  sudo.
     4  sudo.
     5 =======
     5 =======
     6 .. contents::
     6 .. contents::
     7    :local:
     7    :local:
     8 
     8 
     9 Stop sudo asking for password.
     9 Stop sudo asking for password
    10 ==============================
    10 =============================
    11 ::
    11 ::
    12 
    12 
    13   username ALL =(ALL) NOPASSWD: ALL
    13   username ALL =(ALL) NOPASSWD: ALL
    14 
    14 
    15 or::
    15 or::
    16 
    16 
    17   @group ALL =(ALL) NOPASSWD: ALL
    17   @group ALL=(ALL) NOPASSWD: ALL
       
    18 
       
    19 The standard group is ``sudo``, so the record will look like::
       
    20 
       
    21   %sudo ALL=(ALL:ALL) NOPASSWD: ALL
    18 
    22 
    19 Change user/primary group for executed command.
    23 Change user/primary group for executed command.
    20 ===============================================
    24 ===============================================
    21 ::
    25 ::
    22 
    26