hi,
I am running snmpd as the agent on machine 172.10.1.4 , and snmptrapd as the server on 172.10.1.5
Now i am giving the below command from the snmptrapd( ie. server machine).

*snmpusm -v3 -u initial -l authNoPriv -a MD5 -A initialpasswd 172.10.1.4:161 
create wes initial*

*User successfully created. ->is my output.

now if i try to give the command from snmptrapd
snmpwalk -v3 -u wes -l authNoPriv -a MD5 -A initialpasswd 172.10.1.4 :161 .1.3.6.1.6.3.15*
Error in packet.
Reason: authorizationError (access denied to that object)  -> is my output.
Accoding to me the above command should work since wes(cloned user) inherits/retains the passphrase from 'initial'(existing user).

So now if i try to change the passphrase for wes using the below command

*snmpusm -v 3 -u wes -l authNoPriv -a MD5 -A initialpasswd 172.10.1.4 passwd 
initialpasswd wespasswd*

Error in packet.
Reason: authorizationError (access denied to that object) -> is my output

The /etc/snmp/snmpd.conf in snmpd contains
rwuser initial
rwuser wes.

The /var/net-snmp/snmptrapd.conf in snmptrapd contains
createUser initial MD5 initialpasswd

I haven't configured anything in /var/net-snmp/snmpd.conf . What should i give in this file?

Regards
kusuma
Dave Shield wrote:
2009/3/4 kusuma. bm <kusuma...@globaledgesoft.com>:
i have cloned a user from the existing user using snmpusm command.
So the user got successfully created.

Can you please give the complete details of exactly what commands you've run.

You've told us about the snmpd.conf settings, and the failed snmpusm
command.  But you've omitted any information about how you created
the cloned user.



I have configured USM entries in /var /net-snmp/snmptrapd.conf as
createUser initial MD5 initialpasswd DES.

Are you trying to set up users for the agent, or the trap receiver?

What settings have you put into /var/net-snmp/snmpd.conf?

Dave


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to