在windows通过操作系统认证登录ORACLE

发布时间:2020-08-17 21:00:21 作者:liuhaimiao
来源:ITPUB博客 阅读:151

在windows通过操作系统认证登录ORACLE
2010-1-14
在windows 2008下,尝试登录oracle报错:

C:\Users\oracle>sqlplus /nolog

SQL*Plus: Release 11.1.0.6.0 - Production on Wed Jan 13 17:42:49 2010

Copyright (c) 1982, 2007, Oracle.  All rights reserved.

SQL> conn / as sysdba
ERROR:
ORA-01031: insufficient privileges


明明是ORACLE用户,怎么说我没有权限呢? 难道2008 的Windows搞歧视,sqlserver和oracle数据库间的竞争延伸到了OS和DB。
应该不会的。
在ORACLE 官网上找到解释:
When you install Oracle Database, a special Windows local group called ORA_DBA is created (if it does not already exist from an earlier Oracle Database installation), and your Windows username is automatically added to it. Members of local group ORA_DBA automatically receive the SYSDBA privilege.

我查看我的环境,发现oracle 用户没有赋予ora_dba group。那肯定是没有赋予sysdba的权限了,无法通过操作系统认证了。
修改权限,再次登陆。问题解决了:
C:\Users\oracle>sqlplus / as sysdba

SQL*Plus: Release 11.1.0.6.0 - Production on Wed Jan 13 18:34:06 2010

Copyright (c) 1982, 2007, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Release 11.1.0.6.0 - 64bit Production


在UNIX混的时间太长了,连windows的简单的操作都不会用,汗颜啊。
-END-

推荐阅读:
  1. 通过surp suite分析登录网站的认证关键信息
  2. Web认证如何放行不同的操作系统

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

oracle windows 操作系统

上一篇:重点用能单位能耗在线监测系统技术

下一篇:Java-war-jar-docker

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》