数据库提示:
Oracle提示错误消息ORA-28001: the password has expired
解决办法:
1、利用SYSDBA权限登陆;
sqlplus /nolog
conn /as sysdba
2、查询密码有效期
SELECT * FROM dba_profiles WHERE profile='DEFAULT' AND resource_name='PASSWORD_LIFE_TIME'
3、修改密码为无限制:
ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;
4、查看账户信息:Select username,account_status from dba_users
5、如果账户locked/expired,
得先解锁:
Alter user arrearage account unlock;
再修改密码
Alter user arrearage identified by newpwd;