TomTheCat 3 Posted ... I want to start the client without typing the sudo password. But if I add this line USERNAME ALL=(ALL) NOPASSWD: /usr/bin/airvpn to /etc/sudoers, it still requires a password. Linux Mint 18 / Peppermint 7Airvpn client 2.11.3 Thanks in advance Quote Share this post Link to post
TomTheCat 3 Posted ... I found a solution Add USERNAME ALL=(ALL) NOPASSWD: /etc/airvpn to your /etc/sudoers. For USERNAME insert your username. Be careful, use visudo to edit it. Now change your starter in the Menu from /etc/airvpn to su-to-root -X -c /usr/bin/airvpn Finished. Now you can start airvpn without typing in you root password. Quote Share this post Link to post
Staff 9972 Posted ... Hello, we strongly recommend that you do not do that. You're exposing your system to enormous exploit hazard. Kind regards Quote Share this post Link to post
TomTheCat 3 Posted ... Thanks for the info. Is there a different way to do it? Quote Share this post Link to post
zhang888 1066 Posted ... Not a safe one. Why don't you just keep the client minimized?Reboots are more rare these days, most people keep the systems 24/7. Quote Hide zhang888's signature Hide all signatures Occasional moderator, sometimes BOFH. Opinions are my own, except when my wife disagrees. Share this post Link to post