Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
3.0.1
-
None
-
None
Description
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'.
Attachments
Issue Links
- duplicates
-
KARAF-2978 RBAC-- recognize group configuration when use Publickey to Login
- Resolved