Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Updating the Database with a New User Password

The Installation Guide tells how to change the password for the "netrounds" user in the configuration files /etc/netrounds/netrounds.conf and /etc/netrounds/probe-connect.conf. After doing this, you must also update that user's role in the database. How to do that is explained below.

  • Log in to the database using:

  • Inside the database, execute this command (substituting the correct new password):

The relevant PostgreSQL documentation is found here: https://www.postgresql.org/docs/9.0/sql-alterrole.html

Another option is to run the following after logging in to the database:

and then provide the password twice.

After changing the password in the database as well as in the configuration files, reboot the system:

Using special characters in the password

In the ALTER ROLE query, if the character used to surround the password string occurs in the password itself, that character must be escaped. The escape character is a single quote (').

Suppose you want to set the password 'secure. To this end, run the query

However, if you run

you can enter any password characters without escaping them.