Name

nnmchangedbpw.ovpl — change the user name and password used to authenticate with the NNMi database.

SYNOPSIS

nnmchangedbpw.ovpl

DESCRIPTION

Use the nnmchangedbpw.ovpl script to change the user name and password NNMi uses to connect to the database. This script is useful when database passwords expire, or if you need to change the database user name. Before running this script, run the ovstop command to stop NNMi.

Note

To avoid adverse behavior after changing the database user name and password, you must stop NNMi before running the nnmchangedbpw.ovpl script. You can run this script while NNMi is running, but any new database connections created by NNMi fail during authentication.

You must be logged in as administrator on Windows systems or root on UNIX systems to run this script.

Parameters

No supported parameters.

EXAMPLES

Use the nnmchangedbpw.ovpl script if your organization requires frequent password changes for the NNMi database, or to change the user name NNMi uses to connect to the NNMi database.

The nnmchangedbpw.ovpl script does not display the password as you type it in.

When using the nnmchangedbpw.ovpl script, you should see the following messages:

# nnmchangedbpw.ovpl

WARNING: Please make sure NNM has been stopped before running this tool.
         Failure to stop NNM could result in unexpected database failures.

Have you stopped NNM (ovstop)? [n] y
Thank you!

Please provide a database user account name.
user: mydbuser

Please provide the password for database user account.
password: mynewpw
enter password again: mynewpw

User/Password changed successfully!
#

AUTHOR

nnmchangedbpw.ovpl was developed by Hewlett Packard Enterprise.

FILES

Windows: %NNM_BIN%\nnmchangedbpw.ovpl

UNIX: $NNM_BIN/nnmchangedbpw.ovpl

SEE ALSO

ovstart(1M), ovstop(1M), ovstatus(1M).

Return to Reference Pages Index