For accounts in the System, a standard password is preset – xxXX1234 (for more details, see the article “Preset server parameters” in “InfoWatch Traffic Monitor. Installation Guide”). During the operation of the System, it must be replaced, following information security requirements. Stable and secure operation of the System requires storing passwords in a secure place, inaccessible to others. The standard password is changed in the System configuration files. To replace the preset password with a new one: Stop process Traffic Monitor: Stop process Traffic Monitor: Run command: | Блок кода |
|---|
egrep -lir --include=\*.{cfg,conf,pgpass} --exclude-dir=\*{etc_conf_backup,config_merge}\* 'xxXX1234' / | xargs -l sed -i -e 's/xxXX1234/<new_pass>/g' |
where <new_pass> is the new password. Change the password to connect to the database. For this: | Раскрыть |
|---|
| Connect to PostgreSQL DBMS: | Блок кода |
|---|
psql postgres iwtm |
Get a list of users: Change user passwords: | Блок кода |
|---|
alter user 'iw_user' with password 'new_pass'; |
where 'iw_user' is the selected database user, 'new_pass' is the new password for this user. Disconnect from the PostgreSQL DBMS:
|
| Раскрыть |
|---|
| Connect to the Oracle DBMS: | Блок кода |
|---|
sqlplus iwtm@iwtm |
- Enter the preset password.
Get a list of users: | Блок кода |
|---|
select * from dba_users; |
Change user passwords: | Блок кода |
|---|
ALTER USER user IDENTIFIED BY new_pass; |
where user is the selected database user, new_pass is the new password for this user. Disconnect from the Oracle DBMS:
|
Start process Traffic Monitor:
|