Sidekick is a helpful little tool which adjusts the system settings based on geographical location.
I added an action which will execute a sudo
command-line command. The problem is that the Terminal pops up and asks me for the password. Is there a way to allow Sidekick to execute sudo
without asking for a password?
Best Answer
You can disable password prompt when calling sudo in combination with certain commands by editing the sudoers file. This is done by opening a terminal and running
sudo visudo
. You have to add the follwing linesBe careful with this, as it may lead to security risks. It enables anyone logged in with your account ( so not just sidekick) to run the commands in the list without a password prompt.
For a full description of the
sudoers
options check the manpage :man sudoers