ORA-28001: the password has expired scott/tiger
程序员文章站
2022-06-11 12:30:08
...
今天在使用oracle 11时,使用sqlplus中默认的账号scott登录,发现报错,无法登录ORA-28001: the password has expired scott/tig
ORA-28001: the password has expired scott/tiger
今天在使用Oracle 11时,使用sqlplus中默认的账号scott登录,发现报错,,无法登录
解决此类问题:
1,账号scott已经是unlocked状态了。--当然,他不会报这个错
2,
Oracle11g的密码过期。
原因:是由于oracle11g中默认在default概要文件中设置了“PASSWORD_LIFE_TIME=180天”所导致。
3,
C:\>sqlplus / as sysdba
查看指定概要文件(如default)的密码有效期设置:
SQL> select * from dba_profiles where profile='DEFAULT' and resource_name='PASSWORD_LIFE_TIME';
4,如果时间限制为180天,则执行如下操作,修改成无限期的:
SQL> alter profile default limit password_life_time unlimited;
SQL> commit;
5,如果还不行,这里有个简单的方法。将密码改成一个新密码,然后再用password命令,再修过回原来的密码即可
推荐阅读
-
ERROR 1862 (HY000): Your password has expired. To log in you must change it using a .....
-
Oracle密码过期问题 ORA-28001:the password has expired
-
MySQL错误代码1862 your password has expired的解决方法
-
密码过期:ORA-28001: the password has expired
-
ORA-28001: the password has expired scott/tiger
-
解决"ORA-28001: the password has expired”
-
ORA-28001: the password has expired scott/tiger
-
ERROR 1862 (HY000): Your password has expired. To log in you must change it using a .....
-
Oracle密码过期问题 ORA-28001:the password has expired
-
ORA-28001: the password has expired 解决