author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Mon, 22 Feb 2016 13:02:27 +0200 | |
changeset 1907 | f4b078cbff20 |
parent 1905 | fba288d59662 |
child 1912 | 8b81a8f0f692 |
permissions | -rw-r--r-- |
.. -*- coding: utf-8; -*- .. include:: HEADER.rst ======= sudo. ======= .. contents:: :local: 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