You are here: SwitchKit SNMP User’s Guide > 4 System Customization > Changing the Password on Solaris SPARC

Changing the Password on Solaris SPARC

This procedure describes how to change the password on a Solaris SPARC system.

Before you begin

Open snmpd.cnf with a text editor.

Changing the Password on Solaris SPARC

Follow the steps below to change the password on a Solaris SPARC system:

1 Stop the SNMP Master Agent by typing the following on the command line:

# ps -ef | grep snmpdm

A message is displayed indicating the process number of the snmpdm. To kill that process from Solaris, type the following:

# kill -9 <process number>

2 Using a text editor, search for cspAdmin (or the current password). Replace all instances of cspAdmin (or the password) with the new password. The password should contain a maximum of eight alphanumeric characters.

3 Save the snmpd.cnf file. Save a backup copy of the file.

4 From the same Command Prompt window, start the SNMP Master Agent by typing the following at the command line:

# /etc/srconf/exe/snmpdm&

You do not need to start and stop CSPEventManager and CSPAgent.

Once the password has been changed, this is the password that you must use whenever you want to do a Set command.

Changing the password applies to the local system only. If you want to change the password globally, you must do this on each destination.

5 To test the new password, type the following at the command line:

# cd /etc/srconf/exe

6 Type:

# setany -v1 localhost <new password> cspEventMax.0 -i 300

The result of this command should be the following:

# cspEventMax.0 = 300