karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Assigned] (KARAF-4881) Deleting the only user from a group deletes the group in users.properties
Date Wed, 07 Dec 2016 10:03:58 GMT

     [ https://issues.apache.org/jira/browse/KARAF-4881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jean-Baptiste Onofré reassigned KARAF-4881:
-------------------------------------------

    Assignee: Jean-Baptiste Onofré

> Deleting the only user from a group deletes the group in users.properties
> -------------------------------------------------------------------------
>
>                 Key: KARAF-4881
>                 URL: https://issues.apache.org/jira/browse/KARAF-4881
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-security
>    Affects Versions: 4.0.7
>            Reporter: Paul McCulloch
>            Assignee: Jean-Baptiste Onofré
>
> In a fresh Karaf issue:
> >jaas:realm-manage --realm karaf --module org.apache.karaf.jaas.modules.properties.PropertiesLoginModule
> >jaas:user-delete karaf
> >jaas:update
> users.properties is now essentially empty & the group definition for admingroup is
gone. 
> My use case is setting the karaf user password by deleting and re-adding the karaf user.
> The workaround is to add a temporary user to the admin group before deleting the karaf
user.



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

Mime
View raw message