一、如何更改ORACLE 用户的 expired状态
更改ORACLE用户的 expired状态:
如果oracle用户密码变成expired状态,本身是无法解锁的。因为账户过期,必须要用户更改密码, 账户才能重新使用。
解决方法是用原密码的密文来更改密码:
sql如下:
SQL>conn /as sysdba
SQL>select password from dba_users where username='SCOTT';
password
------------------------------
E65E6AF62B2449CF
SQL>alter user SCOTT identified by values 'E65E6AF62B2449CF';
二、expired token please request new password reset link 什么意思
expired token please request new password reset link
令牌到期请要求新密码重置链接
expired
v. 期满( expire的过去式和过去分词 ); 文件、协议等(因到期而)失效; 断气; 逝世;
[例句]His visitor's visa expired.
他的访问签证过期了。
password 英[?pɑ:sw?:d] 美[?p?sw?:rd]
n. (进入房间、建筑或某个地区的) 口令; (使用计算机操作系统的)密码;
[例句]Advance and give the password
上前说出口令。
reset 英[?ri:?set] 美[ri?s?t]
vt. 重置; 重排; 重新安装;
n. 重新放置; 重放之物;
vi. 重置; 清零;
[例句]As soon as you arrive at your destination, step out of the aircraft and reset your wristwatch.
你一到达目的地,就走出飞机并重新设置手表时间。
三、Oracle密码过期
你可能之前启动过策略或profile,一旦你启用过,就有可能有这种现象。
即使你改为无限制。EXPIRED和EXPIRED(GRACE)表示用户密码过期状态。
修改PROFILE中的PASSWORD_LIFE_TIME实现密码是否过期:alter profile default limit password_life_time unlimited;密码过期后也可修改PROFILE中的PASSWORD_GRACE_TIME控制使用的天数:alter profile default limit password_grece_time 180;对于密码过期的用户OPEN:查询:select username,account_status from dba_users;如果状态不是open就不对。修改:alter user [username] identified by account unlock;有时候如果账户因改密码或密码策略而被锁定,可能需如下方案:alter user xxxx identified by xxxx account unlock; --重新改一下密码和账户状态才能恢复。
密码还可以用当前的密码。