密碼即將過期提示的影響
當使用者密碼即將過期時,在登入時Oracle會提示ORA-28002錯誤,但是並不會影響正常的登入。
本來認為這個資訊並沒有太大的影響,但是沒想到這個錯誤會導致SET AUTOTRACE功能失效:
solaris*orcl-/home/oracle$ sqlplus test/test
SQL*Plus: Release 11.2.0.3.0 Production on Fri Jul 13 11:27:28 2012
Copyright (c) 1982, 2011, Oracle. All rights reserved.
ERROR:
ORA-28002: the password will expire within 1 days
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Oracle Label Security and Real Application Testing options
SQL> set autot on
ERROR:
ORA-28002: the password will expire within 1 days
SP2-0619: Error while connecting
SP2-0611: Error enabling STATISTICS report
SQL> alter user test identified by test;
User altered.
SQL> set autot on
ERROR:
ORA-24315: illegal attribute type
SP2-0619: Error while connecting
SP2-0611: Error enabling STATISTICS report
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 -
64bit Production
With the Partitioning, Oracle Label Security and Real Application Testing
options
solaris*orcl-/home/oracle$ sqlplus test/test
SQL*Plus: Release 11.2.0.3.0 Production on Fri Jul 13 11:27:52 2012
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, Oracle Label Security and Real Application Testing
options
SQL> set autot on
SQL> insert into t values (1, 'a');
1 row created.
Execution Plan
----------------------------------------------------------
---------------------------------------------------------------------------------
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
---------------------------------------------------------------------------------
| 0 | INSERT STATEMENT |
| 1 | 12 |
1 (0)| 00:00:01 |
| 1 |
LOAD TABLE CONVENTIONAL | T
| | | | |
---------------------------------------------------------------------------------
Statistics
----------------------------------------------------------
71 recursive calls
9 db block gets
75 consistent gets
10 physical reads
1284 redo size
829 bytes sent via SQL*Net to client
785 bytes received via SQL*Net from client
3 SQL*Net roundtrips to/from client
9 sorts (memory)
0 sorts (disk)
1 rows processed
很顯然,由於ORA-28002錯誤導致了SET AUTOTRACE ON功能啟用時碰到了錯誤。當修改了當前的使用者密碼,則ORA-28002不再出現後,SET AUTOTRACE ON的功能恢復正常。
根據上面的資訊其實可以判斷,在啟用SET AUTOTRACE ON功能時,sqlplus會自動建立一個新的會話來記錄當前會話的統計資訊。
而啟用的新的會話會使用當前會話登入時儲存的密碼來進行登入,因此可以透過下面的例子來驗證這個推論:
solaris*orcl-/home/oracle$ sqlplus test/test
SQL*Plus: Release 11.2.0.3.0 Production on Sun Jul 15 01:28:38 2012
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, Oracle Label Security and Real Application Testing
options
SQL> set autot on
SQL> set autot off
SQL> alter user test identified by test1;
User altered.
SQL> set autot on
ERROR:
ORA-01017: invalid username/password; logon denied
SP2-0619: Error while connecting
SP2-0611: Error enabling STATISTICS report
果然,在使用者登入後,如果當前的密碼被修改,是會導致SET AUTOTRACE ON啟用時報錯不正確的使用者名稱密碼錯誤的。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/4227/viewspace-736182/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Windows的此版本即將過期Windows
- win10提示你的windows許可證即將過期怎麼辦Win10Windows
- win10提示您的windows許可證即將過期怎麼辦Win10Windows
- win10提示windows許可證即將過期怎麼處理 win10windows許可證即將過期如何解決Win10Windows
- Windows許可證 即將過期Windows
- win10系統下提示你的密碼已過期必須更改密碼如何解決Win10密碼
- Win10系統提示“你的windows許可證即將過期”的解決方法Win10Windows
- win10證書即將過期如何解決_win10許可證即將過期的處理方法Win10
- Win10電腦提示此Windows內部版本即將過期如何解決Win10Windows
- Oracle密碼過期處理Oracle密碼
- Oracle 密碼永不過期設定Oracle密碼
- SSL證書為什麼會過期?證書過期會有哪些影響?
- 密碼過期引起的ssh無法登陸密碼
- oracle密碼過期處理辦法Oracle密碼
- 用Abp實現找回密碼和密碼強制過期策略密碼
- Linux系統中,修改密碼永不過期Linux密碼
- 根證書過期問題大嗎?有什麼影響
- windows10教育版許可證即將過期的解決教程Windows
- IMF:AI將影響全球約40%的工作 技能要求越高的工作影響越大AI
- JWT過期,修改密碼,登出登入如何處理JWT密碼
- Oracle 11g 密碼設定為不過期Oracle密碼
- Linux賬戶密碼過期安全策略設定Linux密碼
- SSL證書過期影響大,網站管理人員需警惕網站
- win10 pro許可證即將到期怎麼辦_win10 pro許可證即將過期的解決方法Win10
- React V16.3即將更改的生命週期React
- LGWR和ARCH下密碼檔案不一致對FAL的影響密碼
- Oracle資料使用者密碼過期處理方法Oracle密碼
- 檢測域賬號是否禁用、密碼是否永不過期密碼
- oracle如何修改單個使用者密碼永不過期Oracle密碼
- JavaScript 密碼強度提示效果JavaScript密碼
- Google Chrome 70即將釋出 數千個網站或因安全證書受影響GoChrome網站
- Win10提示你的Windows許可證即將過期怎麼辦?Win10使用數字權利啟用系統方法Win10Windows
- 預計2020年電子競技影響力或將超過足球
- 密碼提示強弱的正規表示式密碼
- windows AD域控密碼過期企業微信推送告警Windows密碼
- 織夢使用者名稱密碼?織夢提示你的密碼錯誤密碼
- 特殊時期疫情如何影響快速消費品市場?覆盤2003年非典對市場的影響
- 密碼雙保險!谷歌即將預設開啟雙因子登入認證密碼谷歌
- AI自動化將如何影響就業?AI就業