Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.4K Intelligent Advisor
- 75 Insurance
- 537.7K On-Premises Infrastructure
- 138.7K Analytics Software
- 38.6K Application Development Software
- 6.1K Cloud Platform
- 109.6K Database Software
- 17.6K Enterprise Manager
- 8.8K Hardware
- 71.3K Infrastructure Software
- 105.4K Integration
- 41.6K Security Software
Password expiration date not changing for user sys

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
Answers
-
hi,
interesting observation, i have checked in a multi-tenant sandbox machine SYS account from CDB$ROOT and other pluggable database has the identical EXPIRY_DATE
what is your database full version ?
regards,
-
The issue has been resolved. It was due to bug 28538439. I installed the bug patch and now it works as expected. More details regarding the bug are below.