1) I create the following entries:

---in /var/ucd-snmp/snmpd.conf
createUser userSoni MD5 lightlight DES

---in snmpd.conf(where SNMPCONFPATH is set)
rouser userSoni

This is how its mentioned in README.snmpv3 file and then I do 

snmpget -v 3 -l noAuthNoPriv -u userSoni 192.168.1.189:9000 ..OID..

But i get the message 
snmpget: Unknown user name

2) What can be the wrong?

Also, I have seen that /var/ucd-snmp/snmpd.conf file gets read and
updated by agent only if it is running as root. But I don't want to run
my agent as root(as I don't use the defalut ports 161 and 162 for
communication) and for some other reasons also. Same problem I face on
the other side with 'snmptrapd' accessing /var/ucd-snmp/snmptrapd.conf
file for the user entries. Can anybody suggest an alternative to this??
How can I make agent and trap daemon access the respective files without
running as root.

3) In README.snmpv3 file, the entries related to com2sec, group, view
and access derivatives are not explained. Are these entries not
mandatory to be specified in snmpd.conf for using SNMPv3 ?? OR the
combination of 'rouser/rwuser' and 'createUser' is sufficient(at least
for the first step) for configuring agent for SNMPv3??

Thanks
Soni


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to