Hi,

To add a user to snmptrapd (or to introduce a user to snmptrapd) at runtime I did the following

1. Configured snmpd as agentx master (by putting master agentx entry in snmpd.conf) and started it
1a. Started snmptrapd (it seems to be doing some packet exchange with agentx (/var/agentx/master)
2. Created a new users using snmpusm (was pointing to snmpd) and changed passwords for them
3. Configured access control to the new user in snmpd.conf (manually)
4. Tested new user by doing snmpget
5. Tried sending a inform to snmptrapd - It says Unknown user name!! (I expected the new user is shared between agentx and snmptrapd !!).

My Queries

1) Is my understandig (or steps followed above) is correct for adding user to snmptrapd dynamically

2) I had to configure the access control by manually editing snmpd.conf and restart snmpd - is there way I can configure access control for any-user or do it without having to restart it

3) I have to change the password of the user to a localized key. I am not able find a way of doing this using snmpusm. Any suggestions to achieve this?

thanks
chinmaya

Any help would be appreciated

--
thanks
chinmaya

On 8/15/05, Thomas Anders <[EMAIL PROTECTED]> wrote:
[EMAIL PROTECTED] wrote:
>  I am trying to add v3 user to snmptrapd at runtime. Is there any
> standard interface for this?

There is (in 5.2.x): standard SNMP-USER-BASED-SM-MIB under the
"snmptrapd" context. Check the list archives, e.g.:

http://sf.net/mailarchive/forum.php?thread_id=5237305&forum_id=4959


+Thomas

--
Thomas Anders (thomas.anders at blue-cable.de)


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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