Manage Passwords for a Database
This topic provides the details and procedure to manage SYS user and TDE Wallet passwords for a database.
You can change passwords:
Using the Console
Perform the following steps in the Console.
-
On the Data Infrastructures list page, select the Data Infrastructure that you want to work with. If you need help finding the list page or the Data Infrastructure, see List Data Infrastructures.
- On the Data Infrastructure details page, select the VM Cluster tab to view the list of all VM Clusters.
- On the VM Clusters tab, select the VM Cluster that you want to work with.
-
On the VM Cluster details page, select the Databases tab to view the list of all databases.
-
On the Databases tab, select the Database that you want to work with.
-
On the Database details page, from the Actions menu, Manage passwords.
-
In the Manage passwords panel, provide the following details.
-
Select the password that you want to update.
-
Update administrator password: Updates the password for the
SYSuser only. Passwords for other administrative accounts, such asSYSTEMandPDBADMIN, and the TDE wallet password are not changed.Enter the new password in both the New administrator password and Confirm administrator password fields.
-
Update TDE wallet password: Updates the password for the TDE wallet only.
Enter the current wallet password in the Existing TDE wallet password field, and then enter the new password in both the New TDE wallet password and Confirm TDE wallet password fields.
-
- Select Apply to update the selected password.
Using dbaascli Utility
Perform the following steps to change the SYS password, or to change the TDE wallet password using dbaascli.
The password that you specify in the Database Admin Password field when you create a new Oracle Base Database Cloud@Customer instance or database is set as the password for the SYS, SYSTEM, TDE wallet, and PDB administrator credentials. Use the following procedures if you need to change passwords for an existing database.
Note: If you are enabling Data Guard for a database, then the SYS password and the TDE wallet password of the primary and standby databases must all be the same.
Note: Using the dbaascli to change the SYS password will ensure the backup/restore automation can parallelize channels across all nodes in the cluster.
To change database passwords:
-
To change the SYS password for a database:
-
Log in to an Oracle Base Database Cloud@Customer virtual machine as the
opcuser. -
Run the following command:
sudo dbaascli database changepassword --dbname <database_name> --user SYS
-
-
To change the SYS password in a Data Guard environment:
-
On the primary database, run:
dbaascli database changePassword --dbName <dbname> --user SYS --prepareStandbyBlob true --blobLocation <location_to_create_blob_file> -
Copy the generated blob file to all standby databases and change the file ownership to the
oracleuser. -
On each standby database, run:
dbaascli database changePassword --dbName <dbname> --user SYS --standbyBlobFromPrimary <location_of_copied_blob_file>
-
-
To change the TDE wallet password for a database:
-
Log in to an Oracle Base Database Cloud@Customer virtual machine as the
opcuser. -
Run the following command:
sudo dbaascli tde changepassword --dbname <database_name>
-