[
https://issues.apache.org/jira/browse/KARAF-5014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17948696#comment-17948696
]
ASF GitHub Bot commented on KARAF-5014:
---------------------------------------
stataru8 commented on PR #1863:
URL: https://github.com/apache/karaf/pull/1863#issuecomment-2845301136
PR is ready for review again.
For the **PublickeyLoginModule**, I was only able to test roles and groups
in debug mode using `ssh -p 8101 -i ~/karaf.id_rsa test@localhost`. For some
reason, two logins are required: the first login through PublickeyLoginModule
succeeds, but then I get prompted for a password (as a string) and since I
can't pass the key...
```
C:\Users\stataru\Downloads\SSHTEST\apache-karaf-4.4.6\bin>ssh -p 8101 -i
karaf.id_rsa test@localhost
Password authentication
(test@localhost) Password:
```
> First role of group definition in users.properties missing
> -----------------------------------------------------------
>
> Key: KARAF-5014
> URL: https://issues.apache.org/jira/browse/KARAF-5014
> Project: Karaf
> Issue Type: Bug
> Components: karaf
> Affects Versions: 4.0.4
> Reporter: Andre Schlegel-Tylla
> Assignee: Jean-Baptiste Onofré
> Priority: Major
>
> The first role of an group got lost in role list:
> {code}
> bpcadmin = {CRYPT}...{CRYPT},bpcadmin,_g_\:zauberer,_g_\:masterdata
> _g_\:masterdata = VAM-administrator,VAM_organization_12001,wosinddieweiteren
> _g_\:zauberer=erstefehlt,abracadabra,simsalabim,sesamoeffnedich,hexhex
> {code}
> The roles "VAM-administrator" and "erstefehlt" are not listet on user
> "bpcadmin".
--
This message was sent by Atlassian Jira
(v8.20.10#820010)