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

Command jaas:groupadd allows adding duplicite groups

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.4, 4.0.0.M3, 2.4.3
    • karaf
    • 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

            ffang Freeman Yue Fang
            ffang Freeman Yue Fang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: