The oracle expiration date does not change when updating the password for sys (logging in as sysdba). The expiration changes on the pdb but no the cdb. What could be the problem? I do not see this issue with system or dvsys, just sys. Any thoughts? Below is the test.
SQL> select sysdate from dual;
SYSDATE
---------
07-JAN-19
SQL> sho con_name
CON_NAME
------------------------------
CDB$ROOT
SQL> sho user
USER is "SYS"
SQL> select username, profile, account_status, created, expiry_date from dba_users where account_status = 'OPEN';
USERNAME PROFILE ACCOUNT_STATUS CREATED EXPIRY_DA
-------------------- -------------------- -------------------------------- --------- ---------
SYS DEFAULT OPEN 01-APR-17 18-MAR-19
SYSTEM DEFAULT OPEN 01-APR-17 06-JUL-19
DVSYS DEFAULT OPEN 01-APR-17 06-JUL-19
SQL> ALTER USER sys IDENTIFIED BY Testing4oracle123 container=all;
User altered.
SQL> select username, profile, account_status, created, expiry_date from dba_users where account_status = 'OPEN';
USERNAME PROFILE ACCOUNT_STATUS CREATED EXPIRY_DA
-------------------- -------------------- -------------------------------- --------- ---------
SYS DEFAULT OPEN 01-APR-17 18-MAR-19
SYSTEM DEFAULT OPEN 01-APR-17 06-JUL-19
DVSYS DEFAULT OPEN 01-APR-17 06-JUL-19