rmusr

Purpose

Deletes an operating system (OS) user from a disk group.

Syntax and Description

rmusr [-r] diskgroup user

Table 10-79 lists the syntax options for the rmusr command.


Table 10-79 Options for the rmusr command

Option Description

-r

Removes all files in the disk group that the user owns at the same time that the user is removed.

diskgroup

Specifies the name of the disk group from which the user is to be deleted.

user

Name of the user to delete.


The command requires the SYSASM privilege to run.

Examples

The following is an example of the rmusr command that removes the oracle2 user from the data disk group.

Example 10-88 Using the ASMCMD rmusr command

ASMCMD [+] > rmusr data oracle2