Paul McCulloch created KARAF-4881:
-------------------------------------

             Summary: 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


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)

Reply via email to