Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2CD6B189CE for ; Mon, 27 Apr 2015 05:41:39 +0000 (UTC) Received: (qmail 57917 invoked by uid 500); 27 Apr 2015 05:41:39 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 57885 invoked by uid 500); 27 Apr 2015 05:41:39 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 57874 invoked by uid 99); 27 Apr 2015 05:41:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Apr 2015 05:41:39 +0000 Date: Mon, 27 Apr 2015 05:41:39 +0000 (UTC) From: "Freeman Fang (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (KARAF-3704) Command jaas:groupadd allows adding duplicite groups MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-3704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Freeman Fang reassigned KARAF-3704: ----------------------------------- Assignee: 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)