Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-1659

The bin/client script does not prompt for password

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Minor
    • None
    • jboss-fuse-6.1
    • None
    • None
    • % %

    Description

      This has been tested with a local and remote fuse container. Also, in addition to testing this against JBoss Fuse 6.1, the same was tested with JBoss A-MQ 6.1, and it behaves exactly the same.

      If you leave the users.properties unmodified, in other words the line

      #admin=admin,admin

      remains commented out, you will, indeed get prompted for a password. If you change the users.properties, uncommenting the line

      admin=admin,admin

      then you run

      bin\client -h localhost -a 8101 -u admin

      you will not get propted for a password, but you will be connected successfully to the console.

      If you add a line to the end of users.properties such as

      ssh=ssh,ssh

      then update the org.apache.karaf.shell.cfg, uncommenting and changing the sshRole to be

      sshRole=ssh

      then if you try logging in without the -p option

      bin\client -a 8101 -h localhost -u ssh

      it will fail, but if you include -p option

      bin\client -a 8101 -h localhost -u ssh -p ssh

      then it will succeed.

      Attachments

        Activity

          People

            janstey@redhat.com Jonathan Anstey
            Argo_Integration Travis North (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: