[ 
https://issues.apache.org/jira/browse/KARAF-5666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16398595#comment-16398595
 ] 

Linus Tentler edited comment on KARAF-5666 at 3/14/18 1:37 PM:
---------------------------------------------------------------

__ __ ____ 
 / //_/____ __________ _/ __/ 
 / ,< / __ `/ ___/ __ `/ /_ 
 / /| |/ /_/ / / / /_/ / __/ 
 /_/ |_|__,_/_/ __,_/_/

Apache Karaf (4.2.0.M2)

Hit '<tab>' for a list of available commands
 and '[cmd] --help' for help on a specific command.
 Hit 'system:shutdown' to shutdown Karaf.
 Hit '<ctrl-d>' or type 'logout' to disconnect shell from current session.

karaf@root()> realm-list
 Index │ Realm Name │ Login Module Class Name
 
──────┼────────────┼───────────────────────────────────────────────────────────────
 1 │ karaf │ org.apache.karaf.jaas.modules.properties.PropertiesLoginModule
 2 │ karaf │ org.apache.karaf.jaas.modules.publickey.PublickeyLoginModule
 3 │ karaf │ org.apache.karaf.jaas.modules.audit.FileAuditLoginModule
 4 │ karaf │ org.apache.karaf.jaas.modules.audit.LogAuditLoginModule
 5 │ karaf │ org.apache.karaf.jaas.modules.audit.EventAdminAuditLoginModule
 karaf@root()> realm-manage --index 1
 karaf@root()> user-add test 1212! --index 1
 Error executing command jaas:user-add: too many arguments specified


was (Author: linuste):
__ __ ____ 
 / //_/____ __________ _/ __/ 
 / ,< / __ `/ ___/ __ `/ /_ 
 / /| |/ /_/ / / / /_/ / __/ 
 /_/ |_|\__,_/_/ \__,_/_/

Apache Karaf (4.2.0.M2)

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit 'system:shutdown' to shutdown Karaf.
Hit '<ctrl-d>' or type 'logout' to disconnect shell from current session.

karaf@root()> realm-list
Index │ Realm Name │ Login Module Class Name
──────┼────────────┼───────────────────────────────────────────────────────────────
1 │ karaf │ org.apache.karaf.jaas.modules.properties.PropertiesLoginModule
2 │ karaf │ org.apache.karaf.jaas.modules.publickey.PublickeyLoginModule
3 │ karaf │ org.apache.karaf.jaas.modules.audit.FileAuditLoginModule
4 │ karaf │ org.apache.karaf.jaas.modules.audit.LogAuditLoginModule
5 │ karaf │ org.apache.karaf.jaas.modules.audit.EventAdminAuditLoginModule
karaf@root()> realm-manage --index 1
karaf@root()> user-add test ################ --index 1
Error executing command jaas:user-add: too many arguments specified

> Shell interprets exclamation mark 
> ----------------------------------
>
>                 Key: KARAF-5666
>                 URL: https://issues.apache.org/jira/browse/KARAF-5666
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-shell
>    Affects Versions: 4.2.0.M2
>            Reporter: Linus Tentler
>            Priority: Major
>
> Shell interprets exclamation mark in passwords when trying to add a user.
> Steps to reproduce:
> --> open ssh session
> --> manage realm
> --> user-add test 1212!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to