ProtonVPN/protonvpn-cli

bypassing sudo?

kinghat opened this issue · 4 comments

is it possible to not need sudo? maybe through the use of users and groups it can be done where you dont have to sudo everything?

This should help you:

https://www.oreilly.com/library/view/linux-security-cookbook/0596003919/ch05s04.html

Not using sudo at all doesn't really work as openvpn needs root privileges, but you can bypass the password authentication if your user is a sudoer.

This should help you:

https://www.oreilly.com/library/view/linux-security-cookbook/0596003919/ch05s04.html

Not using sudo at all doesn't really work as openvpn needs root privileges, but you can bypass the password authentication if your user is a sudoer.

can it be done for just protonvpn-cli though?

Yes, as described, you are specifying the program to exclude.

Yes, exactly as @Rafficer said, it should be done by the user if needed.