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.05
Published
October 2020
Language
English (United States)
Last Update
2020-11-18
dita:mapPath
iak1591023586907.ditamap
dita:ditavalPath
stp1591127384938.ditaval
dita:id
B035-4102
lifecycle
previous
Product Category
Analytical Ecosystem
The script changepassword.sh allows the root user to change the DBC, DATAMOVER, BAR, and BARBACKUP passwords on the Data Mover server using Data Mover 17.00 or earlier.
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 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.
Teradata recommends running the script before installing or upgrading Data Mover. If you run at the script after Data Mover has been installed or upgraded, you must restart the daemon to make sure 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:
    1. # /etc/init.d/dmdaemon stop
    2. # /etc/init.d/dmdaemon start
  3. Run the following commands to verify the Data Mover components are ready to use:
    • 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
*******************************************************************************