admin 管理员组

文章数量: 1087139


2024年3月11日发(作者:selection和election的区别)

创建Oracle密码文件的命令

orapwd file=<> password=<> entries=最大数目

这里的file命名规则在unix/linux下orapw,在windows下为

pwd.ora

具体资料看下面的描述

1. unix 环境:

Administrator's Reference 10g Release 2 (10.2) for UNIX-Based Operating

Systems.

1. Log in as the Oracle software owner. (以Oracle管理员身份登入)

2. Use the orapwd utility to create the password file as follows(使用orapwd

功能创建密码文件):

$ $ORACLE_HOME/bin/orapwd file=filename password=password

entries=max_users

filename The name of the file in which password information is written

(filename指密码信息保存文件的文件名)

The name of the file must be orapwsid, and you must supply the full path

name. Its contents are encrypted. Typically,the password file is created in the

$ORACLE_HOME/dbs directory.(文件名必须为orapwsid,并需要提供完整路径,内容

是加密的,通常情况下,密码文件被创建在$ORACLE_HOME/dbs路径下。)

请注意,unix环境中,password file一定是要用 orapw,没有例外。

2. windows 环境:

Platform. Guide 10g Release 2 (10.2) for Microsoft Windows (32-Bit)

To create and populate a password file:

(1). Create a password file with the Password Utility:

C:> orapwd FILE= PASSWORD=password ENTRIES=max_users

where

| FILE specifies the password filename.

| SID identifies the database instance.

| PASSWORD sets the password for account SYS.

| ENTRIES sets maximum number of entries in password file. This corresponds


本文标签: 密码文件 创建 路径 提供 文件