The openconnect process needs to be run as root so that it can configure the network interfaces, but I don't feel comfortable running the entire wrapper as sudo. With this change you can add the --sudo flag to run the subprocess only as root. It is by default disabled (and can also explicitly disabled with --no-sudo)
The openconnect process needs to be run as root so that it can configure the network interfaces, but I don't feel comfortable running the entire wrapper as sudo. With this change you can add the
--sudo
flag to run the subprocess only as root. It is by default disabled (and can also explicitly disabled with--no-sudo
)