CDH is installed with default passwords, which should be changed for your site security after installation and maintained according to your defined and published security policy.
-
Change the logged-in internal user password:
- Click the logged-in username at the far right of the top navigation bar and select Change Password.
- Enter the current password and the new password twice.
- Click OK.
-
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 Cloudera Manager.
- Log on as root on the first master node.
- Become the postgres user by typing: su - postgres
- Enter the postgres shell by typing: psql
- Change the password by entering the SQL statement: ALTER USER hive WITH PASSWORD '<newpassword>'
-
Change the Hive password in Cloudera Manager:
- Log on to Cloudera Manager.
- In the Services list, select Hive.
- Select .
- In the Enter Maintenance Mode window, click Confirm.
- Select .
- In the Hive menu bar, select the Configuration tab.
- In the Category list, select Hive Metastore Database.
- At the Hive Metastore Database Password slot, enter the new password and click Save Changes.
- Select .
- Select .
- In the Exit Maintenance Mode window, click Confirm.
-
Change the Oozie password:
The Oozie password default is oozie. You must change the default password on the first master node as well as in Cloudera Manager.
- Log on as root on the first master node.
- Become the postgres user by typing: su - postgres
- Enter the postgres shell by typing: psql
- Change the password by entering the SQL statement: ALTER USER oozie WITH PASSWORD '<newpassword>'
-
Change the Oozie password in Cloudera Manager:
- Log on to Cloudera Manager.
- In the Services list, select Oozie.
- Select .
- In the Enter Maintenance Mode window, click Confirm.
- Select .
- Select the Configuration tab.
- In the Category list, select Database.
- At the Oozie Server Database Password slot, enter the new password, and click Save Changes.
- Select .
- Select .
- In the Exit Maintenance Mode window, click Confirm.
-
Change the postgres password:
- Log on as root on the first master node.
- Become the postgres user by typing: su - postgres
- Enter the postgres shell by typing: psql
- Change the password by entering the SQL statement: ALTER USER postgres WITH PASSWORD '<newpassword>'
-
On each node in the cluster, reset the Linux user root password by entering: passwd root
The default password is root.
-
On each node in the cluster reset the Linux tdatuser user password by entering: passwd tdatuser.
The default password is tdatuser.