oracle 密码过期
报错:ORA-28001: the password has expired
操作:
a.登录host,切换用户到oracle ,命令:su - oracle
b. sysdba登录,命令: sqlplus / as sysdba
c.修改密码为无限期,ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED
d.修改密码,因为密码已经过期被锁住了,不修改的话无法使用,所以用两次修改激活原来的密码
ALTER USER ORC_USER IDENTIFIED BY NEW_PASSWORD;
ALTER USER ORC_USER IDENTIFIED BY OLD_PASSWORD;