update databasepassword
subcommand of the raccli
utility updates the password in the keystore (wallet) and optionally updates the password of the SYS
and SYSTEM
users.raccli update databasepassword -password password [-saveonly]
If you are executing this command following an update to the cloud tooling from release 17.2.1 or earlier, you must execute the command with the –saveonly
option on both the primary and standby database to update the password in the keystore.
If you are executing this command to update the password in the keystore and to update the password for the SYS
and SYSTEM
users, you must also copy the password file from the primary database to the standby database after executing the command on the primary database for Oracle Database 11g and Oracle Database 12c Release 1. You do not need to copy the password file for Oracle Database 12c Release 2.
This subcommand runs synchronously.
If the subcommand fails, it reports a FAILURE status and provides a message describing the reason for the failure.