Reputation: 57
i am trying to install jboss-fuse-6.1.0.redhat-379 and i am able to create esb:create-admin-user via console but not i am trying to automate installation via shell script . i am able to start fuse server but not able to create user
esb:create-admin-user.
below is sample script for creating user.
cd $HOME/jboss-fuse-6.1.0.redhat-379/bin
./fuse esb:create-admin-user --new-user admin1 --new-user-password admin12
but it is not creating user.
please let me know how i can do this .
Upvotes: 3
Views: 4219
Reputation: 6523
You are probably looking for the bin/client
script to execute commands against a running fuse instance. But for that you will need a username/password ;)
If you want to automate it is indeed probably easier just to use @mahesh-biradar approach:
echo "admin1=admin12,admin" >> etc/users.properties
Upvotes: 2
Reputation: 391
This could be the issue with file write access present in etc .
Here is the another solution for that
Go to jboss-fuse-6.1.0.redhat-379/etc folder
Open users.properties file and add username=password,admin
Last word admin is the "Admin" role.
Upvotes: 3