openpyn-nordvpn icon indicating copy to clipboard operation
openpyn-nordvpn copied to clipboard

Run as root, no sudo available

Open adrinjalali opened this issue 3 years ago • 1 comments

I was wondering if it would be possible to run openpyn w/o having sudo. When I run it as root, it still fails when sudo is not installed.

adrinjalali avatar Oct 20 '21 11:10 adrinjalali

Hi,

If you really don't want to or can't install sudo, then the one way would be edit the code yourself (use test branch!!), and remove all instances of "sudo", "-u", sudo_user, or a "fake" sudo executable which accepts u as a parameter and runs a command in a similar fashion as sudo does.

1951FDG avatar Oct 23 '21 20:10 1951FDG