oracle创建口令文件

1.需要SYSDBA才能创建口令吗?

Microsoft Windows [版本 5.2.3790]
(C) 版权所有 1985-2003 Microsoft Corp.

C:\Documents and Settings\Administrator>orapwd file=E:\ps.ora password=aaa entri
es=2

C:\Documents and Settings\Administrator>sqlplus sys/aaa as sysdba

SQL*Plus: Release 10.2.0.1.0 - Production on 星期四 4月 21 08:41:35 2011

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

连接到:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options

SQL> conn sys/aaa as sysdba
已连接。
SQL>

 

entries:以sysdba、sysoper 连接的不同用户的最大数目。

在初始化参数文件中设置REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE

表示只有一个例程可以使用口令文件,并且该口令文件包含SYS以外的其他名称。

原文地址:https://www.cnblogs.com/SEEKTHINKING/p/2023395.html