Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ebym opened this issue Nov 18, 2024 · 1 comment
Open

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

ebym opened this issue Nov 18, 2024 · 1 comment

Comments

@ebym
Copy link

ebym commented Nov 18, 2024

  • Ubuntu 22.04 LTS Desktop
  • openfortivpn 1.17.1 - ubuntu package.
  • openFortiGUI 0.9.10 - .deb install.
  • Normal AD user without sudo privileges. We don't want to enable sudo privileges for AD users.

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,

@mrbaseman
Copy link
Collaborator

Currently, openfortivpn needs to run with root privileges for running pppd, for changing the routing and also for updating the name resolution.

Note that openfortigui is a different project than openfortivpn (although it uses openfortivpn in the background).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants