解决方法:
1.查看用户用的哪种profile策略
SQL> select username,profile from dba_users;
USERNAME PROFILE
------------------ -----------------
MGMT_VIEW DEFAULT
SYS DEFAULT
SYSTEM DEFAULT
EKPUSER DEFAULT
2.查看策略的有效天数
SQL> Select * FROM dba_profiles s Where s.profile='DEFAULT' AND resource_name='PASSWORD_LIFE_TIME';
PROFILE RESOURCE_NAME RESOURCE_TYPE LIMIT
------------------------------ ----------------------- ------------ --------
DEFAULT PASSWORD_LIFE_TIME PASSWORD 180
3.修改策略为无限制
SQL> Alter PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;
Profile altered
4.查看确认
SQL> Select * FROM dba_profiles s Where s.profile='DEFAULT' AND resource_name='PASSWORD_LIFE_TIME';
PROFILE RESOURCE_NAME RESOURCE_TYPE LIMIT
------------------------------ -------------------- ------------- ----------
DEFAULT PASSWORD_LIFE_TIME PASSWORD UNLIMITED
修改为及时生效,无需重启数据库
中国足彩网信息请查看IT技术专栏