17 lines
600 B
Plaintext
17 lines
600 B
Plaintext
|
# Change the default user the binary will run as to stunnel4
|
||
|
Index: stunnel4/tools/stunnel.conf-sample.in
|
||
|
===================================================================
|
||
|
--- stunnel4.orig/tools/stunnel.conf-sample.in
|
||
|
+++ stunnel4/tools/stunnel.conf-sample.in
|
||
|
@@ -11,8 +11,8 @@
|
||
|
; Chroot conflicts with configuration file reload and many other features
|
||
|
chroot = @localstatedir@/lib/stunnel4/
|
||
|
; Chroot jail can be escaped if setuid option is not used
|
||
|
-setuid = nobody
|
||
|
-setgid = @DEFAULT_GROUP@
|
||
|
+setuid = stunnel4
|
||
|
+setgid = stunnel4
|
||
|
|
||
|
; PID is created inside the chroot jail
|
||
|
pid = /stunnel4.pid
|