当前位置:Gxlcms > 数据库问题 > Oracle密码过期the password has expired

Oracle密码过期the password has expired

时间:2021-07-01 10:21:17 帮助过:4人阅读

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

 

结果显示:

技术分享图片

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

 

输入命令:

alter profile default  limit password_life_time unlimited; 
commit;  

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

 

结果显示:

技术分享图片

 

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

改变密码的命令

 alter user gzds identified by 123456;  

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

alter user gzds identified by root account unlock;

 

Oracle密码过期the password has expired

标签:账号   命令   ide   改变   comm   root   account   word   http   

人气教程排行