azure-templatesnats

Modify the default administrator password

To change the NATS password, follow these instructions:

  • Connect to the server through SSH.

  • Edit the /opt/bitnami/nats/conf/gnats.conf file and enter the new password you want to use for client connections. (PASSWORD is a placeholder, remember to replace it with the right value).

      # Authorization for client connections
      # authorization {
          user: nats
          pass: "PASSWORD"
          # client_token: ""
          timeout: 1
      }
    
  • Restart the server:

      $ sudo service bitnami restart
    
Last modification September 6, 2018