Purpose
Adds or removes operating system (OS) users to and from an existing Oracle ASM user group.
Syntax and Description
grpmod { --add | --delete } diskgroup usergroup user [user...]
Table 10-72 lists the syntax options for the grpmod
command.
Table 10-72 Options for the grpmod command
Option | Description |
---|---|
|
Specifies to add users to the user group. |
|
Specifies to delete users from the user group. |
|
Name of the disk group to which the user group belongs. |
|
Name of the user group. |
|
Name of the user to add or remove from the user group. |
Only the owner of the user group can use this command. The command requires the SYSASM privilege to run.
This command accepts an operating system user name or multiple user names separated by spaces. The operating system users are typically owners of a database instance home.
Examples
The following are examples of the grpmod
command. The first example adds the oracle1
and oracle2
users to the asm_fra
user group of the fra
disk group. The second example removes the oracle2
user from the asm_data
user group of the data
disk group.