This article applies to:
- Security Reporting Center 2.0
- Security Reporting Center 2.1
Question:
How do I change the database user name and password in Security Reporting Center modules?
Procedure:
When you wish to change the database user name and password in Security Reporting Center, changes to multiple files must be completed so that the User Interface, Scheduler Agent, LEA Service, and Syslog Service can properly log in.
To change the user name and password, please follow these directions for each module. (You must stop and restart each of the services for the changes to take effect. This will also ensure that the new passwords are encrypted.)
- NetIQ Scheduler Agent
- Using any text editor, open the
agent.conf
file from the \modules\agent
directory.
- Under the
[ConfigDB]
section, locate the entry for username
and an entry for password
.
- Delete the existing encrypted user name and password from each of these entries.
- Type the new user name and password following the equal sign.
- Save and close the file.
- Stop and restart the NetIQ - Scheduler Agent service by clicking Start | Settings | Control Panel | Administrative Tools | Services.
- NetIQ LEA Service
- Using any text editor, open the
lea_service.ini
file from \modules\leaservice
directory.
- Under the
[LEA_Service]
section, locate an entry for configDb_UserName
and an entry for configDb_UserPassword
.
Note: Do not change the configDb_DSN
entry.
- Delete the existing encrypted user name and password from each of these entries.
- Type the new user name and password following the equal sign.
- Save and close the file.
- Stop and restart the NetIQ - LEA Service service by clicking Start | Settings | Control Panel | Administrative Tools | Services.
- NetIQ Syslog Service
- Using any text editor, open the
syslog_service.ini
file from the \modules\syslogservice
directory.
- Under the
[SYSLOG_Service]
section locate an entry for configDb_UserName
and an entry for configDb_UserPassword
.
Note: Do not change the configDb_DSN
entry.
- Delete the existing encrypted user name and password from each of these entries.
- Type the new user name and password following the equal sign.
- Save and close the file.
- Stop and restart the NetIQ - Syslog Service service by clicking Start | Settings | Control Panel | Administrative Tools | Services.
- User Interface
- Open the
web.xml
file from the \common\uiserver\WEB-INF
directory.
- Find the
<param-name>
entry, WtSchedJdbcUsername
.
- Change the encrypted
<param-value>
to the new user name.
- Find the
<param-name>
entry, WtSchedJdbcPassword
.
- Change the encrypted
<param-value>
to the new password.
- Find the
<param-name>
entry, WtSchedJdbcEncrypted
.
- Change the
<param-value>
to false
.
- Save and close the file.
- Stop and restart the NetIQ - Tomcat service by clicking Start | Settings | Control Panel | Administrative Tools | Services.
Notes:
Changing the MySQL database user name and password is not done through Security Reporting Center. Instead, this action should be done via MySQL.
A number of free GUI tools for MySQL administration are available. MySQL can also be administered from the command line.
The tool maintained by MySQL AB is available at the following URL: http://dev.mysql.com/downloads/gui-tools/
Note: SRC uses an older version of MySQL, so you may see a warning about version mismatch.
MySQL-Front, a well-known GUI tool, is no longer available.
- This article was previously published as:
- NETIQKB14395