How to enter into asadm prompt without a password?

We tried adding user, password, host, tls and other details in $HOME/.aerospike/astools.conf file under section [cluster], however when enter asadm , it still prompts to enter the password of the configured user id. How can we automate this?

Basically, want to avoid entering password every time on asadm command.

Its working after re-login.

Thanks for the update. So you simply had to re-login on the instance itself?

I also did clean up .profile entries of aerospike user in addition to re-login. That made the trick.

Ah, thanks for confirming.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.