User's Manual

98 omconfig: Managing Components Using the Instrumentation Service
The parameters for configuring the SNMP root password are the same
whether you configure it interactively or iteratively.
NOTE: If you specify setting=rootpw but do not specify the other name=value pair
parameters, you enter interactive mode, and the command line prompts you for the
remaining values.
Table 4-17 shows the valid parameters for the command.
When you type omconfig preferences snmp setting=rootpw,
the system prompts you to supply values for the required parameters.
When you type omconfig preferences snmp, you must supply all the
parameters in the initial command line. For example:
omconfig preferences snmp setting=rootpw oldpw=
openmanage newpw=serveradmin confirmnewpw=
serveradmin
For example, to disallow SNMP set operations use the following command:
omconfig preferences snmp setting=snmpset enable=
false
NOTE: After executing the command to enable or disable SNMP set operations,
restart services for the change to take effect. On systems running supported
Microsoft Windows operating systems, restart the Windows SNMP Service. On
systems running supported Red Hat Enterprise Linux and SUSE Linux Enterprise
Server operating systems, restart Server Administrator services by running the
srvadmin-services.sh restart command.
Table 4-17. SNMP Root Password Parameters
name=value pair Description
setting=rootpw Required.
oldpw=<oldpassword> Enter the old SNMP root password.
newpw=<newpassword> Sets the new SNMP root password.
confirmnewpw=<newpassword> Confirms the new SNMP root password.
Table 4-18. SNMP Set Operations Parameters
name=value pair Description
setting=snmpset Required
enable=true Allows SNMP set operations
enable=false Disallows SNMP set operations