[jira] [Assigned] (KARAF-4881) Deleting the only user from a group deletes the group in users.properties

2020-10-08 Thread Jira


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

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

Assignee: (was: 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
>Affects Versions: 4.0.7
>Reporter: Paul McCulloch
>Priority: Major
>
> 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
(v8.3.4#803005)


[jira] [Assigned] (KARAF-4881) Deleting the only user from a group deletes the group in users.properties

2016-12-07 Thread JIRA

 [ 
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)