Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Password expiration date not changing for user sys

3342319Jan 7 2019 — edited Jan 8 2019

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

Comments

Emad Al-Mousa

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,

3342319
1 - 2

Post Details

Added on Jan 7 2019
2 comments
9,723 views