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:42:38 UTC
[jira] [Work started] (KARAF-3704) Command jaas:groupadd allows
adding duplicite groups
[ https://issues.apache.org/jira/browse/KARAF-3704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on KARAF-3704 started by Freeman Fang.
-------------------------------------------
> 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
> Assignee: 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)