Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-3011

bin/console doesn't authenticate user (properly?)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 3.0.1
    • None
    • karaf
    • None

    Description

      When I launch Karaf on linux, automatically using the wrapper, then bin/client prevents me from running start/stop commands.

      1. 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

          Activity

            People

              ffang Freeman Yue Fang
              olafure Olafur Egilsson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: