summaryrefslogtreecommitdiff
path: root/helper/linux.go
diff options
context:
space:
mode:
Diffstat (limited to 'helper/linux.go')
-rw-r--r--helper/linux.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/helper/linux.go b/helper/linux.go
index 3817989..4273578 100644
--- a/helper/linux.go
+++ b/helper/linux.go
@@ -23,6 +23,8 @@ import (
)
const (
+ openvpnUser = "nobody"
+ openvpnGroup = "nogroup"
logFolder = "/var/log/"
systemOpenvpnPath = "/usr/sbin/openvpn"
snapOpenvpnPath = "/snap/bin/riseup-vpn.openvpn"
@@ -31,6 +33,8 @@ const (
var (
platformOpenvpnFlags = []string{
"--script-security", "1",
+ "--user", openvpnUser,
+ "--group", openvpnGroup,
}
)