Provide ability to bind to privleged ports as non-root user

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P4
    • None
    • Affects Version/s: 5.0
    • Component/s: core-libs
    • generic
    • generic

      Currently, binding to any "reserved" or "privileged" port (0-1023)
      requires starting the JVM as root, which is unacceptable in many
      circumstances. There may be workarounds available such as starting the
      JVM as root, creating a ServerSocket for the desired privileged port,
      and then changing the JVM to a non-root user while holding on to the
      previously generated ServerSocket, but this would complicate many
      startup procedures.

      Our specific use case where the above feature would be required is S1AS 8, which users will not want to run as root. In addition, competing technologies such as the Apache webserver already support this.

            Assignee:
            Mark Sheppard
            Reporter:
            Jan Luehe (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: