ORA-28002: the password will expire解決方法
[oracle@fj ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Sat Oct 17 08:42:43 2015
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
--查使用者密碼有效期預設時180天需要改成UNLIMITED永久
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.
--線上引數變成永久
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
UNLIMITED
--注意需要重新修改密碼才會生效
SQL> alter user mxq identified by woami;
User altered.
----------------------------the end----------------------------------
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29065182/viewspace-1814623/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 錯誤:ORA-28002: the password will expire within 7 days 解決方法
- ORA-28001: the password has expired解決方法
- oracle密碼過期ORA-28002: 7天之後口令將過期的解決方法Oracle密碼
- 解決 eclipse 上 Keystore was tampered with, or password was incorrectEclipse
- 解決Mysql:ERROR 1045 (28000):Access denied for user ‘root‘@‘localhost‘ (using password: NO)的方法MySqlErrorlocalhost
- oracle 11.2.0.4上出現 ora-28002: 密碼超期的解決Oracle密碼
- 關於Support for password authentication 報錯的解決方案
- “ORA-28007: the password cannot be reused”解決
- ORA-28002: 密碼將在 7 天後到期之問題解決密碼
- MYSQL解決error: 'Access denied for user 'root'@'localhost' (using password:MySqlErrorlocalhost
- ORA-28001: the password has expired解決辦法
- mac os x 安裝mysql遇到 Access denied for user ‘root‘@‘localhost‘ (using password: YES)的解決方法MacMySqllocalhost
- Navicat tnt版本提示“failed to save password error code”的解決辦法AIError
- TabError的解決方法Error
- EXE病毒解決方法
- ArtifactDescriptorException的解決方法Exception
- SourceTreet提交時顯示remote: Incorrect username or password ( access token )(4種解決辦法)REM
- Oracle WebLogic Default Password & Change PasswordOracleWeb
- SQLNET.EXPIRE_TIME測試SQL
- [Shell] Monitor filesystem usage & delete expire filedelete
- SERVICE問題解決方法
- No Task Available解決方法AI
- No input file specified 解決方法
- ANR原因及解決方法
- pyenv BUILD FAILED解決方法UIAI
- defunct僵死程式解決方法
- putty亂碼解決方法
- hash衝突解決方法
- dns劫持怎麼解決 dns劫持的解決方法DNS
- javaweb中中文亂碼解決方法總結之response和request解決方法JavaWeb
- jQuery :passwordjQuery
- Django中的函式make_password、set_password和check_passwordDjango函式
- 解決安裝Redis之後設定密碼,報(error) ERR Client sent AUTH, but no password is setRedis密碼Errorclient
- lsnrctl中,SET PASSWORD和CHANGE_PASSWORD命令
- 5.Monitor filesystem usage & delete expire filedelete
- hive使用報錯解決方法Hive
- 解決問題通用方法論
- Method ReflectionParameter::getClass() 解決方法