sudo.rst
changeset 1351 e6f209eae9df
parent 1350 69dff9ee90aa
child 1352 660d2a1b6ec0
equal deleted inserted replaced
1350:69dff9ee90aa 1351:e6f209eae9df
     1 -*- mode: outline; coding: utf-8 -*-
       
     2 
       
     3 * Stop sudo asking for password.
       
     4 
       
     5   username ALL =(ALL) NOPASSWD: ALL
       
     6 
       
     7 or
       
     8 
       
     9   @group ALL =(ALL) NOPASSWD: ALL
       
    10 
       
    11 * Change user/primary group for executed command.
       
    12 
       
    13   $ sudo -u $user -g $group $command
       
    14 
       
    15 To allow this plase in /etc/sudoers:
       
    16 
       
    17   username ALL =(ALL:ALL) NOPASSWD: ALL
       
    18