SQL> select username,profile from dba_users where username=‘user_name‘;
2.查看概要文件密码有效期设置:
SQL> select * from dba_profiles where profile=‘DEFAULT‘ and resource_name=‘PASSWORD_LIFE_TIME‘;
3.如果密码有效期被设置为180天,那么将需要进行如下修改:
SQL> alter profile default limit password_life_time unlimited;
SQL> alter user user_name identified by password; --这里的user_name和password使用原来的用户和密码即可
一个特殊的ora-28002错误:
注意到SQL语句中包含dblink(红框部分),故将dblink所属的用户的密码重置即可。
SQL> alter profile default limit password_life_time unlimited; SQL> alter user dblinkusr identified by efutureone;
原文:https://www.cnblogs.com/jijm123/p/13256897.html