SLES 12 - Changing Default Passwords - Hortonworks Data Platform

Hortonworks Data Platform for Teradata® Administrator Guide

prodname
Hortonworks Data Platform
vrm_release
2.6.4
2.6.5
SLES 12
created_date
November 2019
category
Administration
featnum
B035-6097-028K
HDP is installed with default passwords. Per your site security policy, change the default passwords after installation.
  1. Change the default Ambari password:
    1. Log on to Ambari on the first master node, using admin as both the username and the password.
    2. Click the Admin button and select Manage Ambari.
    3. In the Manage Users + Groups window, select Users.
    4. In the Users window, select admin.
    5. In the Users/admin window, click Change Password.
    6. Enter the current password and the new password twice, and click OK.
    7. From master node one, enter: hcli --nolog support manager_config --password <current password>.
  2. Change the Hive database password:
    The Hive password default is hive. You must change the default password on the first master node as well as in Ambari.
    1. Log on as root on the first master node.
    2. Become the postgres user by typing su - postgres.
    3. Enter the postgres shell by typing psql.
    4. Change the password by entering the SQL statement ALTER USER hive WITH PASSWORD '<newpassword>'
  3. Change the Hive password in Ambari:
    1. Log on to Ambari.
    2. In the Services list, select Hive.
    3. Select the Configs tab.
    4. Above the configuration metrics, select the Advanced tab.
    5. At the Database Password prompt, enter the new password twice, and click Save.
  4. Change the Oozie password:
    1. Log on as root on the first master node.
    2. Become the postgres user by typing su - postgres.
    3. Enter the postgres shell by typing psql.
    4. Change the password by entering the SQL statement ALTER USER oozie WITH PASSWORD '<newpassword>'
  5. Change the Oozie password in Ambari:
    1. Log on to Ambari.
    2. In the Services list, select Oozie.
    3. Select the Configs tab.
    4. At the Database Password prompt, enter the new password twice, and click Save.
  6. Change the postgres password:
    1. Log on as root on the first master node.
    2. Become the postgres user by typing su - postgres.
    3. Enter the postgres shell by typing psql.
    4. Change the password by entering the SQL statement ALTER USER postgres WITH PASSWORD '<newpassword>'
  7. On each node in the cluster, reset the linux user root password by entering passwd root. The default password is root.
  8. On each node in the cluster reset the linux tdatuser user password by entering passwd tdatuser. The default password is tdatuser.