author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Sat, 09 Jul 2011 01:53:59 +0300 | |
changeset 891 | 8e87f1c5c60d |
parent 889 | f18e156d1549 (diff) |
parent 890 | 6f835a47d0e0 (current diff) |
child 893 | 50b41a290439 |
--- a/sudo.rst Fri Jul 01 21:56:16 2011 +0300 +++ b/sudo.rst Sat Jul 09 01:53:59 2011 +0300 @@ -8,3 +8,11 @@ @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 +