Purpose
Sets the location of the password file for an Oracle ASM or database instance.
Syntax and Description
pwset { --asm | --dbuniquename string } file_path
Table 10-15 lists the options for the pwset command.
Table 10-15 Options for the pwset command
| Option | Description |
|---|---|
|
|
The |
|
|
The |
|
|
The |
pwset sets the location of the password file for an Oracle ASM or database instance to the value specified by file_path. Either --dbuniquename or –-asm is required to identify a CRSD resource.
The SYSASM or SYSDBA privilege is required to manage the Oracle ASM and database password files.
Example
The following example sets the location of the Oracle ASM password file in a disk group.