无密码登录oracle,Sqlplus登录无密码(Sqlplus login without password)

Sqlplus登录无密码(Sqlplus login without password)

我在我的linux服务器上安装了Oracle 11gR2。 当我想通过我的数据库上的sys用户登录时,我输入“sys as sysdba”,当系统给出密码时,我按下回车键,我可以使用sqlplus登录我的数据库。

但是,当我尝试使用PL-SQL工具在Windows上连接时,系统需要密码。 如果我没有写密码(我定义了密码,密码是“sys”),我无法登录我的数据库。

为什么?

I installed Oracle 11gR2 on my linux server. When I want to login via sys user on my db, I enter "sys as sysdba" and when system give password , I push enter and I can login on my db with sqlplus.

But, when I try to connect on Windows with PL-SQL tool, system wants to password. If I didn't write password (I defined password, password is "sys"), I cannot login on my db.

Why?

原文:https://stackoverflow.com/questions/20144415

2020-05-01 19:05

满意答案

安装oracle时,它会创建OSDBA和OSOPER组。 此组的任何成员都将具有操作系统身份验证,并且无需密码即可登录。

从其他计算机连接时,它是远程连接,您必须输入密码。

文档中的更多信息。

When you install oracle, it creates OSDBA and OSOPER groups. Any members of this groups will have OS authentication and can logon without a password.

When you connect from another machine, it's a remote connection and you must enter the password.

More info in the documentation.

2013-11-22

相关问答

很可能,您的oracle服务器启用了OS身份验证 ,这基本上告诉oracle相信已经登录到操作系统的用户。 Most likely, your oracle server has OS Authentication enabled, this basically tells oracle to trust users already logged into the OS.

通过$ sqlplus / as sysdba连接或SQL> conn / as sysdba意味着隐式连接到SYS模式。 这是Oracle最有特权的架构,因此Oracle安装的计算机的操作系统信任并接受主管理架构,不需要密码和用户名。 connecting by $ sqlplus / as sysdba or SQL> conn / as sysdba mean connecting to the SYS schema implicitly. That's the most privilege...

请使用百分号表示最后一个参数。 喜欢: sqlplus "%UN%/%PWD%@%ORCL%" @.\File_to_run.sql

我不确定为什么你之前需要@符号。\ File_to_run.sql ... Please use percent sign for the last parameter too. Like: sqlplus "%UN%/%PWD%@%ORCL%" @.\File_to_run.sql

I'm not sure why you need the @ sign be...

authenticate_or_request_with_http_basic是使用HTTP基本身份验证实现的,需要输入用户名和密码的组合。 如果你想启用仅密码认证,你将不得不编写自己的认证方法 before_filter :restrict, :only=>:show

def restrict(password)

render :status=>401, :text=>"Unathorized" unless password == @file.password

end

authent...

您需要启动数据库。 例如 . oraenv

SID

sqlplus / as sysdba

startup

You need to startup the database. e.g. . oraenv

SID

sqlplus / as sysdba

startup

可能类似于: sqlplus username/secret@//a-b.c.d.e:5001/f

这假定SID(JDBC URL中使用的f )与数据库的服务名称相同。 如果不是,我不知道有什么方法可以从SID“反向”设计服务名称。 Probably something like: sqlplus username/secret@//a-b.c.d.e:5001/f

This assumes that the SID (the f used in the JDBC URL) is the sa...

检查pass列是否为varchar,长度大于或等于散列密码。 我认为您保存的存储密码已被截断。 Check if your pass column is varchar with length greater or equal of hashed password. I think your stored password has been truncated during saving.

尝试这个: $result = $con->query("select * from user where Email='$Email'");

if($result->num_rows>0){

$row = $result->fetch_array(MYSQLI_BOTH);

if(password_verify($PW,$row["password"])){

//blah blah blah

}

else

{

$msg = ...

CREATE USER user_NAME IDENTIFIED BY password GRANT CONNECT , RESOURCES TO USER_NAME

CREATE USER user_NAME IDENTIFIED BY password GRANT CONNECT , RESOURCES TO USER_NAME

安装oracle时,它会创建OSDBA和OSOPER组。 此组的任何成员都将具有操作系统身份验证,并且无需密码即可登录。 从其他计算机连接时,它是远程连接,您必须输入密码。 文档中的更多信息。 When you install oracle, it creates OSDBA and OSOPER groups. Any members of this groups will have OS authentication and can logon without a password. When...

相关文章

搭建Hadoop集群的时候一定会用到的就是SSH免密码登录 [hadoop@hadoop1~]

...

代码: / Log

...

javascript 中定义名为login的函数怎么没有用,改成别的就可以,但是login不是关键字,

...

// 微信公众账号 define("Account", "1000000

...

如题,因为我设置了自动登录功能,gmail邮箱自动上去了,但是我忘记了登录密码,也就是说一sign o

...

在多台电脑上搭建Hadoop集群已经有一段时间了,SSH无密码登录服务配置成了一道无法逾越的鸿沟,在启

...

login.jsp接收用户信息输入,提交给action,判断信息是否合法,合法则再看用户是否选择“自动

...

解决ssh配置无密码登录后 又出现输入密码的情况--Hadoop集群配置 主机ip:192.168.1

...

第一次写技术博客,一直逛开源中国,感觉愧对大家,只索取没付出。先用无源码筛选掉一部分浮躁的读者,不过说

...

主要功能:使用微信验证登录Wordpress博客 使用场景:要在别人电脑上登录自己的博客?担心别人电

...

最新问答

如果启用了复制处理程序,请确保将其置于其中一个安全角色之后。 我见过人们做的另一件事是在不同的端口上运行admin。 最好在需要auth的页面上使用SSL,这样你就不会发送明确的密码,因此管理和复制将发生在8443上,而常规查询将在8080上发生。 如果您要签署自己的证书,请查看此有用的SO页面: 如何在特定连接上使用不同的证书? I didn't know that /admin was the context for SOLR admin because /admin does not re

第一:在您的样本中,您有: 但是你在询问 //td[@class=‘CarMiniProfile-TableHeader’] (注意TableHeader中的大写'T')。 xpath区分大小写。 第二:通过查询// td [@ class ='CarMiniProfile-TableHeader'] / td,你暗示你在外部td中有一个'td'元素,而它们是兄弟姐妹。 有很多方法可以在这里获得制作和模型

这是你的答案: http://jsfiddle.net/gPsdk/40/ .preloader-container { position: absolute; top: 0px; right: 0px; bottom: 0px; left: 0px; background: #FFFFFF; z-index: 5; opacity: 1; -webkit-transition: all 500ms ease-out;

问题是,在启用Outlook库引用的情况下, olMailItem是一个保留常量,我认为当您将Dim olMailItem as Outlook.MailItem ,这不是问题,但是尝试设置变量会导致问题。 以下是完整的解释: 您已将olMailItem声明为对象变量。 在赋值语句的右侧,在将其值设置为对象的实例之前,您将引用此Object 。 这基本上是一个递归错误,因为你有对象试图自己分配自己。 还有另一个潜在的错误,如果之前已经分配了olMailItem ,这个语句会引发另一个错误(可能是

我建议使用wireshark http://www.wireshark.org/通过记录(“捕获”)设备可以看到的网络流量副本来“监听”网络上发生的对话。 当您开始捕获时,数据量似乎过大,但如果您能够发现任何看起来像您的SOAP消息的片段(应该很容易发现),那么您可以通过右键单击并选择来快速过滤到该对话'关注TCP Stream'。 然后,您可以在弹出窗口中查看您编写的SOAP服务与Silverlight客户端之间的整个对话。 如果一切正常,请关闭弹出窗口。 作为一个额外的好处,wireshar

Android默认情况下不提供TextView的合理结果。 您可以使用以下库并实现适当的aligntment。 https://github.com/navabi/JustifiedTextView Android Does not provide Justified aligntment of TextView By default. You can use following library and achieve proper aligntment. https://github.com/

你的代码适合我: class apples { public static void main(String args[]) { System.out.println("Hello World!"); } } 我将它下载到c:\ temp \ apples.java。 以下是我编译和运行的方式: C:\temp>javac -cp . apples.java C:\temp>dir apples Volume in drive C is HP_PAV

12个十六进制数字(带前导0x)表示48位。 那是256 TB的虚拟地址空间。 在AMD64上阅读wiki(我假设你在上面,对吗?)架构http://en.wikipedia.org/wiki/X86-64 12 hex digits (with leading 0x) mean 48 bits. That is 256 TB of virtual address space. Read wiki on AMD64 (I assume that you are on it, right?) ar

这将取决于你想要的。 对象有两种属性:类属性和实例属性。 类属性 类属性对于类的每个实例都是相同的对象。 class MyClass: class_attribute = [] 这里已经为类定义了MyClass.class_attribute ,您可以使用它。 如果您创建MyClass实例,则每个实例都可以访问相同的class_attribute 。 实例属性 instance属性仅在创建实例时可用,并且对于类的每个实例都是唯一的。 您只能在实例上使用它们。 在方法__init__中定

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值