Forum Stats

  • 3,851,428 Users
  • 2,263,975 Discussions
  • 7,904,702 Comments

Discussions

Password expiration date not changing for user sys

3342319
3342319 Member Posts: 2
edited Jan 8, 2019 12:09PM in Database Security - General

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