ASMSNMP password change user/ reset default Oracle 12c

 

Take Control: Private Internet Browsing‎ with Brave

Download here the Brave Browser, a safer and faster Chrome alternative

 

 

The ASMSNMP user is an Oracle ASM user with privileges to monitor Oracle ASM instances. The ASMSNMP user password is required.

How can I change the password of the Oracle user ASMSNMP?

Objective is authentication for accessing Oracle ASM Instances. For  example to register an ASM target in your Cloud Control 13c.

# Set variables for Unix
$ . oraenv
+ASM (or +ASM1 in RAC flexasm)

First Method  to change asmsnmp with sql*Plus

$ sqlplus / as sysasm
Alter user asmsnmp identified by my-password;

Second method useful for RAC

In a HA environment:

$ asmcmd
ASMCMD> orapwusr –modify –password asmsnmp
Enter password: my-password

For info, orapwusr can add, drop, or modify an Oracle ASM password file user (sysasm|sysdba|sysoper). pwget/pwset are other commands to set or locate the password file when it is stored on ASM.

Note: grant sysdba to asmsnmp;   — Before promoting the ASM target in the Cloud Control

The ASMSNMP default password is not documented in Oracle Cloud Infrastructure (OCI) Environment.

 

Author: Vincent Fenoll – Oracle DBA

Summary
Article Name
ASMSNMP password change user/ reset default Oracle 12c
Description
How can I change the password of the Oracle user ASMSNMP? For  example to register an ASM target in your Cloud Control 13c.
Author
Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Ce site utilise Akismet pour réduire les indésirables. En savoir plus sur comment les données de vos commentaires sont utilisées.