Purpose
Creates an Oracle ASM or database instance password file at the specified location.
Syntax and Description
pwcreate { --asm |--dbuniquename string } file_path sys_password
Table 10-11 lists the options for the pwcreate
command.
Table 10-11 Options for the pwcreate command
Option | Description |
---|---|
|
The |
|
The |
|
The |
|
The |
pwcreate
creates a password file in the disk group specified by file_path
with an initial SYS
password identified by sys_password
.
Either –-asm
or --dbuniquename
is required. The compatible.asm
disk group attribute must be set to 12.1
or higher for the disk group where the password is to be located.
The SYSASM
or SYSDBA
privilege is required to manage the Oracle ASM and database password files.
For additional information, refer to "Managing a Shared Password File in a Disk Group".
Example
The following example creates an Oracle ASM password file in an Oracle ASM disk group.