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
|
From: Debian Security Tools <team+pkg-security@tracker.debian.org>
Date: Thu, 29 Aug 2019 10:21:08 +0200
Subject: Change default user
Origin: upstream
Author: Thomas Hungenberg
---
LIESMICH | 2 +-
README | 2 +-
conf/inetsim.conf | 4 ++--
doc/inetsim.de.pod | 2 +-
doc/inetsim.en.pod | 2 +-
lib/INetSim/Config.pm | 2 +-
6 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/LIESMICH b/LIESMICH
index f635005..282a3de 100644
--- a/LIESMICH
+++ b/LIESMICH
@@ -178,7 +178,7 @@ benoetigten Module installiert sind.
INetSim startet alle Dienste mit den Privilegien des Benutzers,
welcher in der Konfigurationsdatei angegeben ist (standardmaessig
-'nobody'). Vergewissere Dich, dass dieser Benutzer auf Deinem
+'inetsim'). Vergewissere Dich, dass dieser Benutzer auf Deinem
System existiert.
INetSim fuehrt alle Dienste mit Privilegien der Gruppe 'inetsim' aus,
diff --git a/README b/README
index 18854de..1e6b041 100644
--- a/README
+++ b/README
@@ -165,7 +165,7 @@ Make sure you have installed Perl and all required modules
listed above.
INetSim runs all services with privileges of the user specified
-in the configuration file (default: 'nobody'), so make sure
+in the configuration file (default: 'inetsim'), so make sure
this user exists on your system.
INetSim runs all services with privileges of group 'inetsim',
so you need to add a group with that name to your system.
diff --git a/conf/inetsim.conf b/conf/inetsim.conf
index ebf7173..a5ae587 100644
--- a/conf/inetsim.conf
+++ b/conf/inetsim.conf
@@ -76,9 +76,9 @@ start_service dummy_udp
#
# Syntax: service_run_as_user <username>
#
-# Default: nobody
+# Default: inetsim
#
-#service_run_as_user inetsim
+#service_run_as_user nobody
#########################################
diff --git a/doc/inetsim.de.pod b/doc/inetsim.de.pod
index 38a585e..cdd1e89 100644
--- a/doc/inetsim.de.pod
+++ b/doc/inetsim.de.pod
@@ -71,7 +71,7 @@ paralleler Verbindungen) fuer jeden Dienst. Standard ist 10.
=item B<--user> <I<Benutzername>>
Angabe eines alternativen Benutzers, unter welchem die Dienste laufen
-sollen. Standard ist nobody.
+sollen. Standard ist inetsim.
=item B<--faketime-init-delta> <I<anfaengliche Zeitdifferenz>>
diff --git a/doc/inetsim.en.pod b/doc/inetsim.en.pod
index 3968b8a..b86c78d 100644
--- a/doc/inetsim.en.pod
+++ b/doc/inetsim.en.pod
@@ -65,7 +65,7 @@ each service. Default is 10.
=item B<--user> <I<username>>
-User to run services. Default is 'nobody'.
+User to run services. Default is 'inetsim'.
=item B<--faketime-init-delta> <I<initial time delta>>
diff --git a/lib/INetSim/Config.pm b/lib/INetSim/Config.pm
index 89ee3b9..11f4049 100644
--- a/lib/INetSim/Config.pm
+++ b/lib/INetSim/Config.pm
@@ -60,7 +60,7 @@ tie %ConfigOptions, 'IPC::Shareable', "CNFG", { %shareopts } or die "unable to t
Default_BindAddress => "127.0.0.1",
Default_MaxChilds => 10,
- Default_RunAsUser => 'nobody',
+ Default_RunAsUser => 'inetsim',
Default_RunAsGroup => 'inetsim',
Default_TimeOut => 120,
|