[ Home | About | Licence | About author | Contact ]

Written by Oleksandr Gavenko (AKA gavenkoa), compiled at 2015-10-05 from rev 764bb173578d.

sudo.

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