You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2015/04/27 07:41:38 UTC

[jira] [Created] (KARAF-3704) Command jaas:groupadd allows adding duplicite groups

Freeman Fang created KARAF-3704:
-----------------------------------

             Summary: Command jaas:groupadd allows adding duplicite groups
                 Key: KARAF-3704
                 URL: https://issues.apache.org/jira/browse/KARAF-3704
             Project: Karaf
          Issue Type: Bug
          Components: karaf-security
            Reporter: Freeman Fang


for example, if we use

{code}
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
{code}
then in the etc/users.propertries we can see
{code}
foo = foo,_g_:cool,_g_:cool
{code}
the duplicated group for foo should be avoided



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)