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.

© 2021 Copyright Aerospike, Inc. | All rights reserved. Creators of the Aerospike Database.