In oracle 12cr2 DBAs will have relief, any changes for the password file in database level like change password, adding new user to password file etc will automatically resync in all standby site.
This is possible as password file changes also becomes as redo.
Below the demonstration: In this demo, primary and standby are in same server with same ORACLE_HOME.
password files timestamp before creating new user.
[oracle@localhost dbs]$ pwd
/u01/app/oracle/product/12.2.0/dbhome_1/dbs
[oracle@localhost dbs]$ ls -lrt orapw*
-rw-r-----. 1 oracle oinstall 4.5K Aug 12 15:10 orapworcl
-rw-r-----. 1 oracle oinstall 3.5K Aug 12 15:11 orapwstdby
[oracle@localhost dbs]$ sqlplus / as sysdba
SQL*Plus: Release 12.2.0.1.0 Production on Sun Aug 12 15:26:49 2018
Copyright (c) 1982, 2016, Oracle. All rights reserved.
Connected to:
Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production
SQL> grant connect,sysdba to dba_user identified by dba_user;
Grant succeeded.
SQL> exit
Disconnected from Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production
password files timestamp after creating new user. orcl password file showing new timestamp
[oracle@localhost dbs]$ ls -lrt orapw*
-rw-r-----. 1 oracle oinstall 3.5K Aug 12 15:11 orapwstdby
-rw-r-----. 1 oracle oinstall 5.0K Aug 12 15:27 orapworcl
switch logfile in primary:
[oracle@localhost dbs]$ sqlplus / as sysdba
SQL*Plus: Release 12.2.0.1.0 Production on Sun Aug 12 15:27:27 2018
Copyright (c) 1982, 2016, Oracle. All rights reserved.
Connected to:
Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production
SQL> alter system switch logfile;
System altered.
SQL> exit
Disconnected from Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production
password files timestamp after switch logfile. now standby password file also showing new timestamp, so its updated.
[oracle@localhost dbs]$ ls -lrt orapw*
-rw-r-----. 1 oracle oinstall 5.0K Aug 12 15:27 orapworcl
-rw-r-----. 1 oracle oinstall 4.0K Aug 12 15:27 orapwstdby
user is updated in standby database.
[oracle@localhost dbs]$ . oraenv
ORACLE_SID = [orcl] ? stdby
The Oracle base remains unchanged with value /u01/app/oracle
[oracle@localhost dbs]$ sqlplus / as sysdba
SQL*Plus: Release 12.2.0.1.0 Production on Sun Aug 12 15:38:17 2018
Copyright (c) 1982, 2016, Oracle. All rights reserved.
Connected to:
Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production
SQL> select username,sysdba from v$pwfile_users where username='TEST_USER';
USERNAME SYSDB
-------------------- -----
TEST_USER TRUE