美文网首页
[solution] ORA-28002: the passwo

[solution] ORA-28002: the passwo

作者: ifels | 来源:发表于2016-07-18 11:53 被阅读0次
  1. connect to db:
sqlplus /nolog
connect / as sysdba;
  1. To alter the password expiry policy for a certain user profile in Oracle first check wich profile the user is in using:
select profile from DBA_USERS where username = '<username>';
  1. Then you can change the limit to never expire using:
alter profile <profile_name> limit password_life_time UNLIMITED;

If you want to previously check the limit you may use:

select resource_name,limit from dba_profiles where profile='<profile_name>';
  1. then unlock the user
ALTER USER <username> ACCOUNT UNLOCK;
OR
ALTER USER <username> identified by <password> account unlock;

相关文章

网友评论

      本文标题:[solution] ORA-28002: the passwo

      本文链接:https://www.haomeiwen.com/subject/htvpjttx.html