karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-3704) Command jaas:groupadd allows adding duplicite groups
Date Mon, 27 Apr 2015 05:41:38 GMT
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

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

This message was sent by Atlassian JIRA

View raw message