当前两个用户: 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
解决方案 »
- 关于SQL语句
- 递归查询的问题
- 关于存储过程执行速度慢的问题
- 数据导入问题
- SQL 的别名中,遇到的问题!!!!!!!!!!!!!!!!
- 请问如何用存储过程实现动态生成表名
- 查询当前使用游标数的?使用select * from V$OPEN_CURSOR
- 请问谁有数据库表设计规范,,,,急
- 各位大侠,深圳哪里可以买到DEVELOP2000光盘或者网上哪里有下载,和ORACLE9I搭配的开发工具是DEVELOP2000吗有没有更好的?
- oracle 创建自增字段触发器 我的:new.id,id列名是小写,改如何改
- 用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地权限,所有只好使用密码认证这一条路了。