免费注册 查看新帖 |

Chinaunix

广告
  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: fish617
打印 上一主题 下一主题

orapwd 中 entries指定的数究竟有什么用? [复制链接]

论坛徽章:
0
11 [报告]
发表于 2006-03-30 07:26 |只看该作者
entries - maximum number of distinct DBA and OPERs (opt)

论坛徽章:
0
12 [报告]
发表于 2006-03-30 11:16 |只看该作者
楼上你好,我还是不太明白,请说详细一点儿
我设得entries=1,但是rman 和hr都有sysdba权限了,2已经大于1了,这不是矛盾了吗?
系统是不是应该提示我重新建一个密码文件呢?

论坛徽章:
0
13 [报告]
发表于 2006-03-30 12:51 |只看该作者
原帖由 fish617 于 2006-3-30 11:16 发表
楼上你好,我还是不太明白,请说详细一点儿
我设得entries=1,但是rman 和hr都有sysdba权限了,2已经大于1了,这不是矛盾了吗?
系统是不是应该提示我重新建一个密码文件呢?


我测试也得到了类似的结果,我设置entries=2的时候,可以给5个用户sysdba的权限,设置entries=10的时候可以给13个用户sysdba的权限。
oracle官方文档中找不到解释

我测试的oracle版本是9204 for linux.

论坛徽章:
0
14 [报告]
发表于 2006-03-30 14:46 |只看该作者
顶一下

论坛徽章:
0
15 [报告]
发表于 2006-03-30 14:54 |只看该作者
This parameter specifies the number of entries that you require the password file to
accept. This number corresponds to the number of distinct users allowed to connect
Caution: It is critically important to the security of your system
that you protect your password file and the environment variables
that identify the location of the password file. Any user with access
to these could potentially compromise the security of the
connection to the database as SYSDBA or SYSOPER. The actual number of allowable entries can be higher than the number of users because the ORAPWD utility continues to assign
password entries until an operating system block is filled. For example, if your
operating system block size is 512 bytes, it holds four password entries. The number
of password entries allocated is always multiple of four!

论坛徽章:
0
16 [报告]
发表于 2006-03-30 16:07 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
17 [报告]
发表于 2006-03-30 16:13 |只看该作者
谢谢楼上,看来很难从密码文件这一层,具体限定以SYSDBA角色登录的用户数。

论坛徽章:
0
18 [报告]
发表于 2006-03-31 14:23 |只看该作者

回复 1楼 fish617 的帖子

关注ing

论坛徽章:
0
19 [报告]
发表于 2006-04-01 14:33 |只看该作者
我写了一篇文章在我的blog上
是关于orapwd的entries参数的
http://www.cublog.cn/u/7667/?u=h ... howart.php?id=93939

论坛徽章:
0
20 [报告]
发表于 2014-11-30 02:19 |只看该作者
cattiger 发表于 2006-03-30 14:54
This parameter specifies the number of entries that you require the password file to
accept. This n ...


oracle密码文件和文件系大小没有关系,另外,当不指定entries 或者指定的值为0-4时,最多5个用户,
生成的密码文件可以分为几个不同的组,entries参数分别为0-4,5-8,9-12,13-16,17-20 ······

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP