Purpose
Add, drop, or modify an Oracle ASM password file user.
Syntax and Description
orapwusr { --add | --modify | --delete | grant {sysasm|sysdba|sysoper} |
--revoke {sysasm|sysdba|sysoper} } user
Table 10-9 lists the options for the orapwusr
command.
Table 10-9 Options for the orapwusr command
Option | Description |
---|---|
|
Adds a user to the password file. Also prompts for a password. |
|
Changes the password for the specified user. |
|
Drops a user from the password file. |
|
Sets the role for the user. The options are |
|
Removes the role for the user. The options are |
|
Name of the user to add, drop, or modify. |
orapwusr
attempts to update passwords on all nodes in a cluster. This command requires the SYSASM privilege to run. A user logged in as SYSDBA cannot change its password using this command.
Examples
The following is an example of the orapwusr
command. This example adds the hruser
to the Oracle ASM password file.