# HG changeset patch # User Oleksandr Gavenko # Date 1343987924 -10800 # Node ID e6f209eae9df53ebc1693ef19c8cd2572a3eff3b # Parent 69dff9ee90aadfb2cf073989720d42a49c1012b7 Switch to RST syntax. diff -r 69dff9ee90aa -r e6f209eae9df sudo.rst --- a/sudo.rst Tue Jul 31 22:26:37 2012 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ --*- mode: outline; coding: utf-8 -*- - -* Stop sudo asking for password. - - username ALL =(ALL) NOPASSWD: ALL - -or - - @group ALL =(ALL) NOPASSWD: ALL - -* Change user/primary group for executed command. - - $ sudo -u $user -g $group $command - -To allow this plase in /etc/sudoers: - - username ALL =(ALL:ALL) NOPASSWD: ALL -