Change Administrator password?
I'm trying to change the Administrator password and I'm really surprised how difficult this is turning out. From what I can tell the CLI is the place to get the job done so this is what I try:
/opt/membase/bin/cli/membase cluster-init --cluster-init-password=newPassword -c localhost:8091 - Administrator -p oldPassword
I get a return of:
SUCCESS: init
But nothing is changed. Still have to use the old password. Am I missing something here?
Thanks,
Patrick
Steve,
That did the trick. Apperently it was the order of the arguments. You were right, I had a typo in my post with the missing -u, but it was right on the command line I was using. When I typed the parameters in the same order you posted, it worked like a charm. Password is changed.
Thanks for the quick response,
Patrick
Hi Patrick,
Looks like the success message was clearly supposed to be a failure. I've created bug/issue MB-3257 to track this.
In the meantime, here's the command-line I used to change the web console Administrator password, against membase 1.6.4...
./membase cluster-init -c localhost:8091 -u OLD_USERNAME -p OLD_PASSWORD --cluster-init-password=NEW_PASSWORD
It's possible you might have had a typo with the "-u Administrator" in the command-line shown in your post?
Cheers,
Steve