Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-3704

Command jaas:groupadd allows adding duplicite groups

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.4, 4.0.0.M3, 2.4.3
    • Component/s: karaf
    • Labels:
      None

      Description

      for example, if we use

      1. Check jaas:realms (select module PropertiesLoginModule)
      2. jaas:manage --index 1
      3. jaas:useradd foo foo
      4. jaas:groupcreate cool
      5. jaas:groupcreate cool
      6. jaas:groupadd foo cool
      7. jaas:groupadd foo cool
      

      then in the etc/users.propertries we can see

      foo = foo,_g_:cool,_g_:cool
      

      the duplicated group for foo should be avoided

        Attachments

          Activity

            People

            • Assignee:
              ffang Freeman Fang
              Reporter:
              ffang Freeman Fang
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: