29 lines
972 B
Plaintext
29 lines
972 B
Plaintext
$OpenBSD: patch-example_sockd_conf,v 1.2 2014/09/11 07:40:07 dcoppa Exp $
|
|
--- example/sockd.conf.orig Wed Sep 3 16:49:13 2014
|
|
+++ example/sockd.conf Thu Sep 11 09:32:09 2014
|
|
@@ -40,7 +40,7 @@
|
|
|
|
# the server will log both via syslog, to stdout and to /var/log/sockd.log
|
|
#logoutput: syslog stdout /var/log/sockd.log
|
|
-logoutput: stderr
|
|
+logoutput: syslog/user
|
|
|
|
# The server will bind to the address 10.1.1.1, port 1080 and will only
|
|
# accept connections going to that address.
|
|
@@ -76,11 +76,11 @@ logoutput: stderr
|
|
#
|
|
|
|
# when doing something that can require privilege, it will use the
|
|
-# userid "sockd".
|
|
-#user.privileged: sockd
|
|
+# userid "root".
|
|
+#user.privileged: root
|
|
|
|
-# when running as usual, it will use the unprivileged userid of "sockd".
|
|
-#user.unprivileged: sockd
|
|
+# when running as usual, it will use the unprivileged userid of "_sockd".
|
|
+#user.unprivileged: _sockd
|
|
|
|
# If you are not using libwrap, no need for the below line, so leave
|
|
# it commented.
|