Originally posted by jlittle
View Post
Announcement
Collapse
No announcement yet.
How to run application without sudo? In my case ProtonVPN
Collapse
This topic is closed.
X
X
-
(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"?
- Top
- Bottom
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:
It doesn't seem to work:Code:spectrum spectrum-P55-USB3 = (root) NOPASSWD: /usr/local/bin/protonvpn
Am I doing sudoers wrong?Code:spectrum@spectrum-P55-USB3:~$ /usr/local/bin/protonvpn c -f [!] The program was not executed as root. [!] Please run as root.
Thanks in advance!
Tags: None
- Top
- Bottom
Users Viewing This Topic
Collapse
There are 0 users viewing this topic.
Leave a comment: