Sample Header Ad - 728x90

run openconnect without sudo

1 vote
0 answers
842 views
I want to start a VPN connection without needing to type in the password to the VPN connection or the password for sudo and without saving the password on my pc accessible to any normal users. ATM I have a bash-script that is runnable and readable only by root which contains the VPN password so to startup the VPN I still need to use sudo to run it. I compiled the bash-script so I can now let normal users run it without exposing the password to them (at least I think so, can it still get sniffed from traffic or something?). But openconnect still needs sudo, can I somehow solve that?
Asked by Jacknife (11 rep)
Dec 2, 2022, 06:16 PM