You can specify the --privilege
option to choose the type of connection, either SYSASM
or SYSDBA
. The default value is SYSASM
and is used when administering an Oracle ASM instance. Connect as SYSDBA
when connecting to the database instance.
For example:
$ asmcmd --privilege sysasm