当前两个用户: bfes fss
bfes > env | grep ORA
ORACLE_BASE=/home/oracle
ORACLE_SID=efss
ORACLE_DOC=/home/oracle/product/10.2.0/doc
ORAUSER=ops$bfes
ORA_NLS33=/home/oracle/product/10.2.0/ocommon/nls/admin/data
ORACLE_HOME=/home/oracle/product/10.2.0
ORAPWD=bfes/home/fss>env | grep ORA
ORACLE_BASE=/home/oracle
ORACLE_SID=efss
ORACLE_DOC=/home/oracle/product/10.2.0/doc
ORAUSER=ops$bfes
ORA_NLS33=/home/oracle/product/10.2.0/ocommon/nls/admin/data
ORACLE_HOME=/home/oracle/product/10.2.0
ORAPWD=bfes#打开了数据库
bfes>sqlplus /
SQL*Plus: Release 10.2.0.1.0 - Production on 星期三 5月 28 17:39:20 2008Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining optionsSQL>#却要手工输入用户与ID
/home/fss>sqlplus /
SQL*Plus: Release 10.2.0.1.0 - Production on 星期三 5月 28 17:39:49 2008Copyright (c) 1982, 2005, Oracle. All rights reserved.ERROR:
ORA-01017: invalid username/password; logon denied
Enter user-name:#当前情况又能连接上数据库
/home/fss>sqlplus $ORAUSER/$ORAPWD as sysdba SQL*Plus: Release 10.2.0.1.0 - Production on 星期三 5月 28 17:40:32 2008Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining optionsSQL>用户组:
fss:!:209:206::/home/fss:/usr/bin/ksh
bfes:!:210:206::/si/usr/bfes:/usr/bin/ksh
bfes > env | grep ORA
ORACLE_BASE=/home/oracle
ORACLE_SID=efss
ORACLE_DOC=/home/oracle/product/10.2.0/doc
ORAUSER=ops$bfes
ORA_NLS33=/home/oracle/product/10.2.0/ocommon/nls/admin/data
ORACLE_HOME=/home/oracle/product/10.2.0
ORAPWD=bfes/home/fss>env | grep ORA
ORACLE_BASE=/home/oracle
ORACLE_SID=efss
ORACLE_DOC=/home/oracle/product/10.2.0/doc
ORAUSER=ops$bfes
ORA_NLS33=/home/oracle/product/10.2.0/ocommon/nls/admin/data
ORACLE_HOME=/home/oracle/product/10.2.0
ORAPWD=bfes#打开了数据库
bfes>sqlplus /
SQL*Plus: Release 10.2.0.1.0 - Production on 星期三 5月 28 17:39:20 2008Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining optionsSQL>#却要手工输入用户与ID
/home/fss>sqlplus /
SQL*Plus: Release 10.2.0.1.0 - Production on 星期三 5月 28 17:39:49 2008Copyright (c) 1982, 2005, Oracle. All rights reserved.ERROR:
ORA-01017: invalid username/password; logon denied
Enter user-name:#当前情况又能连接上数据库
/home/fss>sqlplus $ORAUSER/$ORAPWD as sysdba SQL*Plus: Release 10.2.0.1.0 - Production on 星期三 5月 28 17:40:32 2008Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining optionsSQL>用户组:
fss:!:209:206::/home/fss:/usr/bin/ksh
bfes:!:210:206::/si/usr/bfes:/usr/bin/ksh
解决方案 »
- 两数据库连接同时执行数据库插入操作时发生ArrayIndexOutofBoundException
- Oracle安装时;网络配置需求没有通过!!!
- Mysql中的ignore关键字在ORACLE中 怎么解释?
- sqlldr运行错误
- dmp文件只有几百k,可是导入库后占用空间2G多!why?how to do?
- 帮我看看存储过程错在哪里?
- 请教:count(*)和sub(num)的区别!
- 能将某个表空间的数据导出吗?
- 有又问题了!!!
- 请问在SCO UNIX5。04 下的ORACLE7 的系统表空间,*.DBF,如何移动位置?
- 用vs c#开发,数据库oracle 9i,用户表的用户名如SupEr,查询时用super或SUPER都不能查询,求解
- ORACLE异常处理问题,搞不懂,求助
不过可以给你讲讲oracle的认证方式
oracle的认证主要有三个东西控制着
1、sqlnet.ora里面:
SQLNET.AUTHENTICATION_SERVICES = (NTS/NONE/BOTH)--这里有三个选项,依我判断你的环境中应该是both或者nts
2、pfile下的
remote_login_passwordfile=EXCLUSIVE/NONE/SHARED --这里也有三个选项,我觉得你可能选的是EXCLUSIVE
3、密码文件,基本上是密码认证使用到的恭喜。
如果你选择的是 NTS+EXCLUSIVE(或者SHARED)的话,你就即可以进行密码认证,也可以进行OS认证。
同时,OS认证时你的第二个用户没有访问Oracle地权限,所有只好使用密码认证这一条路了。