vi /etc/snmpd.confget-community-name: public //修改此口令 #set-community-name: # enter community name#contact: # enter contact person for agent#location: # enter location of agent#max-trap-dest: # enter max no. of trap-dest entries to be maintained.#trap-dest: # enter trap destination在Solaris系统下,修改/etc/snmp/conf/snmpd.conf中缺省的口令,然后执行下列命令使之生效:
#/etc/init.d/init.snmpdx stop#/etc/init.d/init.snmpdx start