11g通过一个参数设置密码大小写敏感,下面来做个试验:
c:\documents and settings\guogang>sqlplus gg_test/gg_test@10.10.15.25_gg
sql*plus: release 10.2.0.1.0 – production on 星期一 8月 4 17:54:19 2014
copyright (c) 1982, 2005, oracle. all rights reserved.
连接到:
oracle database 11g enterprise edition release 11.2.0.1.0 – 64bit production
with the partitioning, olap, data mining and real application testing options
sql> select * from v$version;
banner
——————————————————————————–
oracle database 11g enterprise edition release 11.2.0.1.0 – 64bit production
pl/sql release 11.2.0.1.0 – production
core 11.2.0.1.0 production
tns for linux: version 11.2.0.1.0 – production
nlsrtl version 11.2.0.1.0 – production
sql> show parameter sec_case_sensitive_logon
name type value
———————————— ———– ——————————
sec_case_sensitive_logon boolean true
c:\documents and settings\guogang>sqlplus gg_test/gg_test@10.10.15.25_gg
sql*plus: release 10.2.0.1.0 – production on 星期一 8月 4 17:54:06 2014
copyright (c) 1982, 2005, oracle. all rights reserved.
error:
ora-01017: invalid username/password; logon denied
请输入用户名:
c:\documents and settings\guogang>sqlplus gg_test/gg_test@10.10.15.25_gg
sql*plus: release 10.2.0.1.0 – production on 星期一 8月 4 17:52:35 2014
copyright (c) 1982, 2005, oracle. all rights reserved.
连接到:
oracle database 11g enterprise edition release 11.2.0.1.0 – 64bit production
with the partitioning, olap, data mining and real application testing options
sql> alter system set sec_case_sensitive_logon=false;
系统已更改。
sql> 从 oracle database 11g enterprise edition release 11.2.0.1.0 – 64bit production
with the partitioning, olap, data mining and real application testing options 断开
c:\documents and settings\guogang>sqlplus gg_test/gg_test@10.10.15.25_gg
sql*plus: release 10.2.0.1.0 – production on 星期一 8月 4 17:53:48 2014
copyright (c) 1982, 2005, oracle. all rights reserved.
连接到:
oracle database 11g enterprise edition release 11.2.0.1.0 – 64bit production
with the partitioning, olap, data mining and real application testing options
sql> show parameter sec_case_sensitive_logon
name type value
———————————— ———– ——————————
sec_case_sensitive_logon boolean false