From: lwang Date: Wed, 15 Jun 2005 10:45:10 +0000 (+0000) Subject: allow unprivileged port to connect X-Git-Tag: v1_7_100~1^25~8^2~28 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=50c1a964ad93bdd13e39c218028c55d11e9168fe;p=fs%2Flustre-release.git allow unprivileged port to connect --- diff --git a/lustre/utils/lconf b/lustre/utils/lconf index a7714fb..6ba555b 100755 --- a/lustre/utils/lconf +++ b/lustre/utils/lconf @@ -290,6 +290,8 @@ class AcceptorHandler(DaemonHandler): self.port = port self.net_type = net_type self.flags = '' + if config.allow_unprivileged_port: + self.flags = '-p' def pidfile(self): return "/var/run/%s-%d.pid" % (self.command, self.port) @@ -3057,6 +3059,7 @@ lconf_options = [ ('subsystem', "Set the portals debug subsystem", PARAM), ('gdb_script', "Fullname of gdb debug script", PARAM, default_gdb_script()), ('debug_path', "Path to save debug dumps", PARAM, default_debug_path()), + ('allow_unprivileged_port', "Allow connections from unprivileged ports"), # Client recovery options ('recover', "Recover a device"), ('group', "The group of devices to configure or cleanup", PARAM),