Oracle11g密码过期

连接Oracle,以root用户登陆,输入以下命令

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

 

结果显示:

Oracle密码过期the password has expired

结果显示密码有效期是180天

 

输入命令:

alter profile default  limit password_life_time unlimited; 
commit;  

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

 

结果显示:

Oracle密码过期the password has expired

 

进行以上步骤之后需要改变密码,否则还会出现password has expired异常

改变密码的命令

 alter user gzds identified by 123456;  

如果账号被锁住,则需要解锁命令

alter user gzds identified by root account unlock;

 

相关文章:

  • 2021-08-28
  • 2021-06-14
  • 2021-09-14
  • 2021-08-04
  • 2022-03-03
  • 2021-10-24
  • 2021-07-11
猜你喜欢
  • 2021-09-03
  • 2021-12-15
  • 2021-11-20
  • 2022-12-23
  • 2021-08-18
相关资源
相似解决方案