Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-1909

A user with no privilege can start a server

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0-incubating
    • Component/s: None
    • Labels:

      Description

      1) Start the locator with a security-manager:
      start locator --name=loc1 --security-properties-file=security.properties --classpath=/Users/jiliao/my_gemfire/security

      2) connect to the locator using: guest/guest

      3), try start a server as guest:
      start server --name=server1 --security-properties-file=serverSecurity.properties --locators=localhost[10334]

      The server will be started.

      We should allow only user with CLUSTER:MANAGE permission to start a server.

        Attachments

        1. security.json
          1 kB
          Jinmei Liao
        2. security.properties
          0.2 kB
          Jinmei Liao
        3. serverSecurity.properties
          0.0 kB
          Jinmei Liao

          Activity

            People

            • Assignee:
              jinmeiliao Jinmei Liao
              Reporter:
              jinmeiliao Jinmei Liao
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: