Purpose
Returns the location of the password file for the Oracle ASM or database instance.
Syntax and Description
pwget { --asm | --dbuniquename string }
Table 10-13 lists the options for the pwget
command.
Table 10-13 Options for the pwget command
Option | Description |
---|---|
|
The |
|
The |
pwget
returns the location of the password file for the Oracle ASM instance identified by –-asm
or the database instance identified by --dbuniquename
.
The SYSASM
or SYSDBA
privilege is required to manage the Oracle ASM and database password files.
Example
The following example returns the location of the Oracle ASM password file.
Example 10-15 Using the ASMCMD pwget command
ASMCMD [+] > pwget --asm +DATA/orapwasm