10g、11g口令檔案密碼大小寫敏感
一、11g口令檔案
11g 命令orapwd有引數ingnorecase,控制口令檔案密碼大小寫是否敏感:
[oracle@shanxi ~]$ orapwd
Usage: orapwd file=
where
file - name of password file (required),
password - password for SYS will be prompted if not specified at command line,
entries - maximum number of distinct DBA (optional),
force - whether to overwrite existing file (optional),
ignorecase - passwords are case-insensitive (optional),
nosysdba - whether to shut out the SYSDBA logon (optional Database Vault only).
There must be no spaces around the equal-to (=) character.
(1)大小寫敏感: ignorecase = n(也是預設情況)
orapwd file=orapwPROD password=YITAi entries=3 force=y nosysdba=n
等效於:
orapwd file=orapwPROD password=YITAi entries=3 force=y ignorecase=n nosysdba=n
[oracle@shanxi ~]$ sqlplus sys/yitai@221.XXX.XXX.XXX/PROD as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Mon Apr 15 11:47:39 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
ERROR:
ORA-01017: invalid username/password; logon denied
Enter user-name:
[oracle@shanxi ~]$ sqlplus sys/YITAi@221.XXX.XXX.XXX/PROD as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Mon Apr 15 11:48:13 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, Oracle Label Security, OLAP, Data Mining,
Oracle Database Vault and Real Application Testing options
11:48:13 SQL[ SYS ] >
也就是11g預設情況下,口令檔案密碼是大小寫敏感的。
(2) 大小寫不敏感: ignorecase=y
必須顯式控制,因為預設是ingnorecase=n
[oracle@shanxi ~]$ sqlplus sys/yitai@221.204.237.110/PROD as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Mon Apr 15 11:51:16 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, Oracle Label Security, OLAP, Data Mining,
Oracle Database Vault and Real Application Testing options
11:51:16 SQL[ SYS ] >
[oracle@shanxi ~]$ sqlplus sys/YITAi@221.XXX.XXX.XXX/PROD as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Mon Apr 15 11:51:46 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, Oracle Label Security, OLAP, Data Mining,
Oracle Database Vault and Real Application Testing options
11:51:47 SQL[ SYS ] >
(2)10g:
10g 命令orapwd沒有可以控制大小寫敏感的引數,因此口令檔案密碼大小寫是不敏感的:
[oracle@center-rac1 ~]$orapwd
Usage: orapwd file=
where
file - name of password file (mand),
password - password for SYS (mand),
entries - maximum number of distinct DBA,
force - whether to overwrite existing file (opt),
nosysdba - whether to shut out the SYSDBA logon (opt for Database Vault only).
There are no spaces around the equal-to (=) character
[oracle@center-rac1 ~]$sqlplus sys/YITAI@192.XXX.XXX.XXX/wxxridx as sysdba
SQL*Plus: Release 10.2.0.3.0 - Production on Mon Apr 15 11:56:44 2013
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@center-rac1 ~]$sqlplus sys/yitai@192.XXX.XXX.XXX/wxxridx as sysdba
SQL*Plus: Release 10.2.0.3.0 - Production on Mon Apr 15 11:57:53 2013
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
SQL>
10g中,沒有大小寫敏感引數控制,所以密碼無論大小寫都能登陸。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/27042095/viewspace-758479/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle 10g 11g密碼策略 使用者口令 大小寫敏感 說明Oracle 10g密碼
- oracle 11g新特性之密碼大小寫敏感Oracle密碼
- 11G 新特性:密碼大小寫策略密碼
- Oracle 12c 業務使用者密碼大小寫不敏感Oracle密碼
- 【11g】使用SEC_CASE_SENSITIVE_LOGON引數控制密碼大小寫敏感性Go密碼
- mysql大小寫敏感MySql
- 11G開始 密碼區分大小寫密碼
- git Windows下重新命名檔案,大小寫敏感問題GitWindows
- 11G使用者密碼大小寫處理密碼
- sql server 大小寫敏感SQLServer
- oralce密碼檔案要注意SID的大小寫問題密碼
- 解決Mac OS X檔案系統大小寫不敏感問題Mac
- mysql 大小寫敏感問題MySql
- MySQL中的大小寫敏感MySql
- MySQL大小寫敏感說明MySql
- 密碼區分大小寫密碼
- Oracle OS認證、口令檔案、密碼丟失處理Oracle密碼
- DM8 字串大小寫敏感字串
- PHP大小寫是否敏感問題PHP
- Oracle 11g使用者名稱密碼區分大小寫Oracle密碼
- EBS 克隆,密碼大小寫敏感導致白屏或報錯 HTTP error 500 Internal server error密碼HTTPErrorServer
- 口令檔案
- mysql 大小寫敏感 lower_case_table_namesMySql
- 重建口令檔案
- Oracle ----口令檔案Oracle
- 引數檔案/口令檔案
- 在 macOS 內使用大小寫敏感的 APFS 卷儲存程式碼Mac
- PDF密碼忘記了,如何找回口令密碼密碼
- python中排序時對大小寫不敏感Python排序
- 關於密碼檔案,SYS密碼密碼
- 10g升級到11g密碼問題密碼
- Oracle 11gR2密碼區分大小寫Oracle密碼
- Oracle11g 特性——密碼區分大小寫Oracle密碼
- Oracle 密碼檔案Oracle密碼
- Oracle 建立口令檔案 orapwdOracle
- XML口令檔案描述 (轉)XML
- 重新認識口令檔案
- 在Oracle中進行大小寫不敏感的查詢Oracle