Announcement

Collapse
No announcement yet.

How to run application without sudo? In my case ProtonVPN

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spectrum
    replied
    Originally posted by jlittle View Post
    (A mistake I made is that) if you use a sudoers file to allow running a command as root without entering your password, you still need to prefix it with "sudo"; it just doesn't ask for the password. Did you leave in the "sudo"?
    Woo! That does it. Thanks a lot, man!

    Leave a comment:


  • jlittle
    replied
    (A mistake I made is that) if you use a sudoers file to allow running a command as root without entering your password, you still need to prefix it with "sudo"; it just doesn't ask for the password. Did you leave in the "sudo"?

    Leave a comment:


  • How to run application without sudo? In my case ProtonVPN

    Hi! I want to be able to run ProtonVPN from a startup script in order to auto-connect to VPN upon startup.

    ProtonVPN requires sudo rights.

    I've tried to add this to my sudoers in an attempt to let it run without sudo:

    Code:
    spectrum spectrum-P55-USB3 = (root) NOPASSWD: /usr/local/bin/protonvpn
    It doesn't seem to work:

    Code:
    spectrum@spectrum-P55-USB3:~$ /usr/local/bin/protonvpn c -f
    [!] The program was not executed as root.
    [!] Please run as root.
    Am I doing sudoers wrong?

    Thanks in advance!

Users Viewing This Topic

Collapse

There are 0 users viewing this topic.

Working...
X