brianhornsby / script.openvpn

A script that allows you to control OpenVPN from within Kodi.
http://brianhornsby.com/kodi_addons/openvpn
GNU General Public License v3.0
91 stars 30 forks source link

Enable using sudo without a password #6

Closed ysgit closed 11 years ago

ysgit commented 11 years ago

It's possible to set up the sudoers file to allow certain sudo commands without using a password, while less secure this is more convenient.

I've modified the code to allow the use of sudo in this scenario without specifying a password