adrienverge / openfortivpn

Client for PPP+TLS VPN tunnel services
GNU General Public License v3.0
2.74k stars 321 forks source link

unable to connect - AD authenticated user on Linux. #1252

Open ebym opened 4 days ago

ebym commented 4 days ago

Is there a way for user without sudo privilege to establish openfortivpn connection ?.

When trying to connect, the log show the following error.

sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper

In GUI settings, SUDO -E Option is enabled and following line is added in /etc/sudoers.d/openfortigui

%sudo ALL=NOPASSWD:SETENV: /usr/bin/openfortigui --start-vpn *

Thanks,