Provide credentials with nodetool
After configuring Java Management Extensions (JMX) authentication, using nodetool requires the -u and -pw options on the nodetool commands.
Procedure
Run nodetool using a <username> and <password>:
nodetool -u USERNAME -pw PASSWORD info
Replace the following:
-
USERNAME: The username for the JMX connection -
PASSWORD: The password for the JMX connection