码迷,mamicode.com
首页 > 其他好文 > 详细

ORA-28001: the password has expired

时间:2016-03-07 11:41:59      阅读:195      评论:0      收藏:0      [点我收藏+]

标签:

大早上正式库提示:

Oracle提示错误消息ORA-28001: the password has expired

解决办法:

1、利用SYSDBA权限登陆;

2、查看账户信息:select username,account_status from dba_users

3、如果账户locked/expired,

    得先解锁:

    alter user BJMMIS account unlock;

    再修改密码

    alter user BJMMIS identified by newpwd;

 

一劳永逸破解11G180天自动密码失效的办法:

查询密码有效期

SELECT * FROM dba_profiles WHERE profile=‘DEFAULT‘ AND resource_name=‘PASSWORD_LIFE_TIME‘

修改为无限制:

ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED

ORA-28001: the password has expired

标签:

原文地址:http://www.cnblogs.com/toSeeMyDream/p/5249616.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!