You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2014/07/01 05:56:24 UTC
[jira] [Assigned] (KARAF-3011) bin/console doesn't authenticate
user (properly?)
[ https://issues.apache.org/jira/browse/KARAF-3011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Freeman Fang reassigned KARAF-3011:
-----------------------------------
Assignee: Freeman Fang
> bin/console doesn't authenticate user (properly?)
> -------------------------------------------------
>
> Key: KARAF-3011
> URL: https://issues.apache.org/jira/browse/KARAF-3011
> Project: Karaf
> Issue Type: Bug
> Components: karaf-shell
> Affects Versions: 3.0.1
> Reporter: Olafur Egilsson
> Assignee: Freeman Fang
>
> When I launch Karaf on linux, automatically using the wrapper, then bin/client prevents me from running start/stop commands.
> # bin/client
> Logging in as karaf
> 1243 [pool-2-thread-2] WARN org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at /0.0.0.0:8101 presented unverified key:
> __ __ ____
> / //_/____ __________ _/ __/
> / ,< / __ `/ ___/ __ `/ /_
> / /| |/ /_/ / / / /_/ / __/
> /_/ |_|\__,_/_/ \__,_/_/
> Apache Karaf (3.0.1)
> 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()> restart 157
> Error executing command: Insufficient credentials.
> The only way I can use bin/client is by creating a new user:
> edit: etc/users.properties
> add:
> myuser = mypass,_g_:admingroup
> _g_\:admingroup = group,admin,manager,viewer
> And logging in with bin/client -u myuser
> If this is by design, we need to display "NOT AUTHENTICATED" or something when the client opens, since it looks very much like I'm authenticated as 'karaf'.
--
This message was sent by Atlassian JIRA
(v6.2#6252)