登陆oracle em 登陆不了截图如下:
更改用户密码无效:
查看后台log:
2015-06-27 10:11:31,640 Thread-1080228448 WARN collector: <nmecmc.c> Error exit. Error message: ORA-28001: the password has expired
可能是密码过期导致:
查看过期用户:
SQL> alter user sysman identified by geelykpi;
User altered.
解封即可正常登陆!!
关闭oracle11g的过期策略:
一:
SQL> select username,profile from dba_users where username='SYSTEM';
USERNAME PROFILE
------------------------------ ------------------------------
SYSTEM DEFAULT
SQL> SELECT * FROM dba_profiles s WHERE s.profile='DEFAULT' AND resource_name='PASSWORD_LIFE_TIME';
PROFILE RESOURCE_NAME RESOURCE
------------------------------ -------------------------------- --------
LIMIT
----------------------------------------
DEFAULT PASSWORD_LIFE_TIME PASSWORD
180
SQL> ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;
Profile altered.
成功!!!