pwdelete

Purpose

Deletes an Oracle ASM or database instance password file.

Syntax and Description

pwdelete { --asm |--dbuniquename string | file_path }

Table 10-12 lists the options for the pwdelete command.


Table 10-12 Options for the pwdelete command

Option Description

--asm

The --asm option associates the password file with the Oracle ASM instance that ASMCMD is logged into.

--dbuniquename string

The --dbuniquename string option identifies the database unique name associated with the password file.

file_path

The file_path value identifies the location where the password file is located.


pwdelete deletes the specified password file. Either –-asm or --dbuniquename is required to identify a CRSD resource and to remove the password location from the CRSD resource.

The SYSASM or SYSDBA privilege is required to manage the Oracle ASM and database password files.

Example

The following example deletes the specified password file from a disk group.

Example 10-14 Using the ASMCMD pwdelete command

ASMCMD [+] > pwdelete +FRA/orapwasm_bak