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.