summaryrefslogtreecommitdiff
path: root/debian/patches/debian_nogroup_for_sample_files.patch
blob: 3660453ed26c390a00a1604ec99fe7ee94db7866 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Description: Unpriviledged group in Debian is called nogroup instead of nobody
Author: Alberto Gonzalez Iniesta <agi@inittab.org>
Bug-Debian: http://bugs.debian.org/317987
Index: openvpn/sample/sample-config-files/server.conf
===================================================================
--- openvpn.orig/sample/sample-config-files/server.conf	2016-11-21 09:53:43.608863207 +0100
+++ openvpn/sample/sample-config-files/server.conf	2016-11-21 09:53:43.604863188 +0100
@@ -272,7 +272,7 @@
 # You can uncomment this out on
 # non-Windows systems.
 ;user nobody
-;group nobody
+;group nogroup
 
 # The persist options will try to avoid
 # accessing certain resources on restart
Index: openvpn/sample/sample-config-files/tls-home.conf
===================================================================
--- openvpn.orig/sample/sample-config-files/tls-home.conf	2016-11-21 09:53:43.608863207 +0100
+++ openvpn/sample/sample-config-files/tls-home.conf	2016-11-21 09:53:43.608863207 +0100
@@ -51,7 +51,7 @@
 # "nobody" after initialization
 # for extra security.
 ; user nobody
-; group nobody
+; group nogroup
 
 # If you built OpenVPN with
 # LZO compression, uncomment
Index: openvpn/sample/sample-config-files/client.conf
===================================================================
--- openvpn.orig/sample/sample-config-files/client.conf	2016-11-21 09:53:43.608863207 +0100
+++ openvpn/sample/sample-config-files/client.conf	2016-11-21 09:53:43.608863207 +0100
@@ -59,7 +59,7 @@
 
 # Downgrade privileges after initialization (non-Windows only)
 ;user nobody
-;group nobody
+;group nogroup
 
 # Try to preserve some state across restarts.
 persist-key
Index: openvpn/sample/sample-config-files/tls-office.conf
===================================================================
--- openvpn.orig/sample/sample-config-files/tls-office.conf	2016-11-21 09:53:43.608863207 +0100
+++ openvpn/sample/sample-config-files/tls-office.conf	2016-11-21 09:53:43.608863207 +0100
@@ -51,7 +51,7 @@
 # "nobody" after initialization
 # for extra security.
 ; user nobody
-; group nobody
+; group nogroup
 
 # If you built OpenVPN with
 # LZO compression, uncomment