Package: kopanocore / 8.7.0-3

debian/Run-deamons-as-user-group-kopano.patch Patch series | download
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
From: Matthias Geerdsen <matthias@vorlons.info>
Date: Sat, 13 Aug 2016 11:53:49 +0200
Subject: Run deamons as user/group kopano

---
 installer/linux/dagent.cfg  | 4 ++--
 installer/linux/gateway.cfg | 4 ++--
 installer/linux/ical.cfg    | 4 ++--
 installer/linux/monitor.cfg | 4 ++--
 installer/linux/server.cfg  | 4 ++--
 installer/linux/spooler.cfg | 4 ++--
 6 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/installer/linux/dagent.cfg b/installer/linux/dagent.cfg
index 598ff44..2aef165 100644
--- a/installer/linux/dagent.cfg
+++ b/installer/linux/dagent.cfg
@@ -73,10 +73,10 @@
 # run as specific user in LMTP mode.
 #   make sure this user is listed in local_admin_users in your storage server config
 #   or use SSL connections with certificates to login
-#run_as_user = kopano
+run_as_user = kopano
 
 # run as specific group in LMTP mode.
-#run_as_group = kopano
+run_as_group = kopano
 
 # control pid file
 #pid_file = /var/run/kopano/dagent.pid
diff --git a/installer/linux/gateway.cfg b/installer/linux/gateway.cfg
index b03dec0..cf401f4 100644
--- a/installer/linux/gateway.cfg
+++ b/installer/linux/gateway.cfg
@@ -27,10 +27,10 @@
 #server_hostname_greeting = no
 
 # drop privileges and run the process as this user
-#run_as_user = kopano
+run_as_user = kopano
 
 # drop privileges and run the process as this group
-#run_as_group = kopano
+run_as_group = kopano
 
 # create a pid file for stopping the service via the init.d scripts
 #pid_file = /var/run/kopano/gateway.pid
diff --git a/installer/linux/ical.cfg b/installer/linux/ical.cfg
index 67e1c82..2283638 100644
--- a/installer/linux/ical.cfg
+++ b/installer/linux/ical.cfg
@@ -2,10 +2,10 @@
 # ICAL SETTINGS
 
 # drop privileges and run the process as this user
-#run_as_user = kopano
+run_as_user = kopano
 
 # drop privileges and run the process as this group
-#run_as_group = kopano
+run_as_group = kopano
 
 # create a pid file for stopping the service via the init.d scripts
 #pid_file = /var/run/kopano/ical.pid
diff --git a/installer/linux/monitor.cfg b/installer/linux/monitor.cfg
index 31fd786..0e267f9 100644
--- a/installer/linux/monitor.cfg
+++ b/installer/linux/monitor.cfg
@@ -8,10 +8,10 @@
 #servers =
 
 # drop privileges and run the process as this user
-#run_as_user = kopano
+run_as_user = kopano
 
 # drop privileges and run the process as this group
-#run_as_group = kopano
+run_as_group = kopano
 
 # create a pid file for stopping the service via the init.d scripts
 #pid_file = /var/run/kopano/monitor.pid
diff --git a/installer/linux/server.cfg b/installer/linux/server.cfg
index 64e62a9..580812c 100644
--- a/installer/linux/server.cfg
+++ b/installer/linux/server.cfg
@@ -56,10 +56,10 @@ local_admin_users = root kopano
 #system_email_address = postmaster@localhost
 
 # drop privileges and run the process as this user
-#run_as_user = kopano
+run_as_user = kopano
 
 # drop privileges and run the process as this group
-#run_as_group = kopano
+run_as_group = kopano
 
 # create a pid file for stopping the service via the init.d scripts
 #pid_file = /var/run/kopano/server.pid
diff --git a/installer/linux/spooler.cfg b/installer/linux/spooler.cfg
index e90ea93..5256abb 100644
--- a/installer/linux/spooler.cfg
+++ b/installer/linux/spooler.cfg
@@ -11,10 +11,10 @@
 #server_socket = default:
 
 # drop privileges and run the process as this user
-#run_as_user = kopano
+run_as_user = kopano
 
 # drop privileges and run the process as this group
-#run_as_group = kopano
+run_as_group = kopano
 
 # create a pid file for stopping the service via the init.d scripts
 #pid_file = /var/run/kopano/spooler.pid