blob: 6e306f1ef1410d33bbd6b0b5295cab8f1cb2d393 (
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
|
Avoid all hosts allowed to connect
Drop privileges after startup
diff --git a/server/gkrellmd.conf b/server/gkrellmd.conf
index dd8bac3..aa9500d 100644
--- a/server/gkrellmd.conf
+++ b/server/gkrellmd.conf
@@ -22,16 +22,17 @@
# List of hosts allowed to connect. If no hosts are specified in a
# gkrellmd.conf file or on the command line, all hosts will be allowed.
#
-#allow-host localhost
-#allow-host 127.0.0.1
+allow-host localhost
+allow-host 127.0.0.1
+allow-host ::ffff:127.0.0.1
#allow-host ::1
#allow-host 192.168.0.*
# Drop privileges after startup (you must start gkrellmd as root to do it).
# NOTE: Option ignored on Windows
#
-#user nobody
-#group proc
+user gkrellmd
+group gkrellmd
# Create a PID file for the running gkrellmd. Default is no PID file.
# NOTE: Option ignored on Windows
|