Change Server Passwords | Teradata Data Mover - Changing DBC, DATAMOVER, and DSA Passwords on the Data Mover Server - Teradata Data Mover

Teradata® Data Mover Installation, Configuration, and Upgrade Guide for Customers

Product
Teradata Data Mover
Release Number
17.00
Published
November 30, 2021
Language
English (United States)
Last Update
2021-11-04
dita:mapPath
xmy1574692806525.ditamap
dita:ditavalPath
ffv1503415926374.ditaval
dita:id
B035-4102
lifecycle
previous
Product Category
Analytical Ecosystem
Data Mover includes the script changepassword.sh that allows the root user to change the DBC, DATAMOVER, BAR, and BARBACKUP passwords on the Data Mover server. The passwords for the bundled DSA in Data Mover are updated using the changpassword.sh script, do not use the script that is provided with DSA. The new password specified for DATAMOVER using the script is applied to the users BAR and BACKUP. When started, the script logs into the internal TD repository and changes the repository passwords. The script is part of the tdm-linux bundle and its location is determined by where the tdm-linux bundle is located. For example:

/var/opt/teradata/packages/DataMover/16.20.12.00/changepassword.sh

If you previously used dm.job.production.password in the daemon.properties file to change the DATAMOVER password, remove it from daemon.properties before running the changepassword.sh script.
We recommend that you run the script before installing or upgrading Data Mover. If you run it after Data Mover has been installed or upgraded, you must restart the daemon to ensure Data Mover runs properly.
  1. Do one of the following:
    Script Option Description
    Interactive
    1. Run the script without arguments:

      # changepassword.sh

    2. When prompted, enter the old and new passwords.
    Non-Interactive
    1. Run the script with the arguments -o, -p, -m, and -d. For example:

      # changepassword.sh -o old dbc password -p new dbc password -m old datamover password -d new datamover password, where:

      • old dbc password is the existing password for the DBC user
      • new dbc password is the new password for the DBC user
      • old datamover password is the existing password for the DATAMOVER user
      • new datamover password is the new password for the DATAMOVER user
  2. If you ran the changepassword.sh script after Data Mover was installed or upgraded, restart the daemon as follows:
    1. # /etc/init.d/dmdaemon stop
    2. # /etc/init.d/dmdaemon start
  3. Verify the Data Mover components are ready to use by issuing the following commands:
    • datamove list_jobs
    • datamove list_agents

Script Example

location:/var/opt/teradata/packages/DataMover162000 # ./changepassword.sh
Do you want to change the DBC password of the Teradata internal repository?(yes/no/y/n)?
yes
----------------------------------------------------------------
            Change DBC Default Password
----------------------------------------------------------------
Old Password:                                                   
Retype Old Password:                                             
New Password:                                                    
Retype New Password:
Do you want to change the DATAMOVER password of the Teradata internal repository?(yes/no/y/n)? 
yes
----------------------------------------------------------------------
     Change DATAMOVER/BAR/BARBACKUP Default Password                         
----------------------------------------------------------------------
Old Password:                                                   
Retype Old Password:                                             
New Password:                                                    
Retype New Password:
*******************************************************************************
DBC default Password changed successfully
                                           
*******************************************************************************
*******************************************************************************
DATAMOVER default Password changed successfully
*******************************************************************************
*******************************************************************************
DBC and DATAMOVER passwords are encrypted and stored in /etc/opt/teradata/datamover/password.txt file
*******************************************************************************
Please restart the Daemon using the following commands
/etc/init.d/dmdaemon stop
/etc/init.d/dmdaemon start
*******************************************************************************
*******************************************************************************
BAR default Password changed successfully
*******************************************************************************
*******************************************************************************
BARBACKUP default Password changed successfully
*******************************************************************************
Please wait .. updating DSA properties files
*******************************************************************************
DSA properties files updated successfully
*******************************************************************************
The DSC and DSARest web service have been restarted
*******************************************************************************