oracle用户密码过期

登录时提醒修改密码,原因是原密码过期,使用system用户登录,执行命令:

select * from dba_profiles where profile='DEFAULT' and resource_name='PASSWORD_LIFE_TIME';  

其中limit字段为有效期,其值为180,进行修改:

alter profile default  limit password_life_time unlimited;  

修改为不限期,但还是需要修改密码,不然登录时还会提示,进行修改密码:

alter user test identified by 111111;

原文地址:https://www.cnblogs.com/yangxuyang/p/12874992.html