SHARE
TWEET

openfortigui.patch

a guest Jul 20th, 2019 105 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/openfortigui/sudo/openfortigui b/openfortigui/sudo/openfortigui
  2. index 7b2fb8e..80062e6 100644
  3. --- a/openfortigui/sudo/openfortigui
  4. +++ b/openfortigui/sudo/openfortigui
  5. @@ -1 +1 @@
  6. -%sudo  ALL=NOPASSWD: /usr/bin/openfortigui
  7. +%wheel  ALL=NOPASSWD:SETENV: /usr/bin/openfortigui
  8. diff --git a/openfortigui/vpnmanager.cpp b/openfortigui/vpnmanager.cpp
  9. index baede6b..2f5fd1e 100644
  10. --- a/openfortigui/vpnmanager.cpp
  11. +++ b/openfortigui/vpnmanager.cpp
  12. @@ -74,6 +74,7 @@ void vpnManager::startVPN(const QString &name)
  13.          return;
  14.  
  15.      QStringList arguments;
  16. +    arguments << "-E";
  17.      arguments << QCoreApplication::applicationFilePath();
  18.      arguments << "--start-vpn";
  19.      arguments << "--vpn-name";
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top