Purpose
The modify_admin_password command allows you to change the password for the super user. By default, the password for the super user is dmcl_admin and cannot be changed.
Parameters
- security_username
- [Optional] User ID of the super user or authorized Viewpoint user. The user ID of the super user is dmcl_admin and cannot be changed.
- security_password
- [Optional] Password for the super user or authorized Viewpoint user.
- security_password_encrypted
- [Optional] Encrypted password for the super user.
- current_password
- Current password for the super user. By default, password of the super user is dmcl_admin.
- current_password_encrypted
- Current encrypted password for the super user.
- new_password
- New password for the super user.
- new_password_encrypted
- New encrypted password for the super user.
- broker.url
- [Optional] You may enter a broker URL to overwrite the default value specified in the commandline.properties file in order to connect to a different ActiveMQ server (and therefore a different daemon) at runtime.
- broker.port
- [Optional] You may enter a broker port to overwrite the default value specified in the commandline.properties file in order to connect to a different ActiveMQ server (and therefore a different daemon) at runtime.
Usage Notes
You can pass values for the following:
- A current plaintext password and a new encrypted password in the same command or XML file.
- A current encrypted password and a new plaintext password in the same command or XML file.
The following scenarios result in an error:
- You pass values for the current plaintext and current encrypted passwords in the same command or XML file.
- You pass values for the new plaintext and new encrypted passwords in the same command or XML file.
XML File Example
To use an XML file with the modify_admin_password command to change the password for the super user, type datamove modify_admin_password -f admin_pw_parameters.xml.
In the following example, the current (default) password is updated to 53cUr17y.
<dmModifyAdminPassword xmlns="http://schemas.teradata.com/dataMover/v2009" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.teradata.com/unity/datamover.xsd"> <current_password>dmcl_admin</current_password> <current_password_encrypted></current_password_encrypted> <new_password>53cUr17y</new_password> <new_password_encrypted></new_password_encrypted> </dmModifyAdminPassword>To pass values for encrypted passwords, add them to the XML file for the appropriate element.