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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- git Windows下重新命名檔案,大小寫敏感問題GitWindows
- Oracle 12c 業務使用者密碼大小寫不敏感Oracle密碼
- oracle監聽檔案listener.ora for 10g/11gOracle
- DM8 字串大小寫敏感字串
- PDF密碼忘記了,如何找回口令密碼密碼
- python中排序時對大小寫不敏感Python排序
- 在 macOS 內使用大小寫敏感的 APFS 卷儲存程式碼Mac
- Oracle 密碼檔案Oracle密碼
- 在Linux下管理MySQL的大小寫敏感性LinuxMySql
- Oracle:ASM & 密碼檔案OracleASM密碼
- 正規表示式i修飾符(大小寫不敏感)
- php一招搞定替換指定字元(大小寫不敏感)PHP字元
- 自己寫的一個 java 解壓 rar zip 帶密碼 檔案Java密碼
- 設定Oracle的使用者密碼不區分大小寫Oracle密碼
- [20220826]ls顯示檔案不區分大小寫.txt
- 管理(002):建立密碼檔案示例密碼
- 管理(005):密碼檔案設定密碼
- 限制檔案大小及顯示檔案大小(正規表示式
- 常見的弱口令 密碼字典 下載網站密碼網站
- Oracle 12c的DG自動同步密碼檔案--ASM 新特性:共享密碼檔案Oracle密碼ASM
- PDF檔案有限制密碼,該如何編輯檔案?密碼
- SpringBoot專案配置檔案中密碼的加密Spring Boot密碼加密
- 如何給PDF檔案設定密碼?密碼
- 1.6.5. 使用密碼檔案認證密碼
- 解決Linux系統下MYSQL資料表大小寫敏感問題LinuxMySql
- 大小寫字母的asc碼
- SpringBoot配置檔案敏感資訊加密方案Spring Boot加密
- git預設忽略檔名大小寫Git
- 1.7.7. 檢視密碼檔案成員密碼
- Linux基礎命令---htpasswd建立密碼檔案Linux密碼
- 關於os認證和口令檔案認證(轉)
- excelwin10版檔案密碼忘了怎麼辦_excelwin10版檔案密碼忘了如何開啟ExcelWin10密碼
- Oracle 10g大檔案表空間(轉)Oracle 10g
- apache上傳檔案大小限制Apache
- PbootCMS上傳檔案大小限制boot
- php檔案上傳大小限制PHP
- Oracle 11g 密碼設定為不過期Oracle密碼
- Powershell 如何批次獲取檔案大小的實現程式碼
- 如何在 Go 專案中隱藏敏感資訊,比如避免暴露使用者密碼?Go密碼