Re: snmpv3 "createuser" usage

Steve Miller <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Where do you keep the 2nd snmpd.conf file that has the rwuuser entry in it ?(I am assuming we dont need to have more than 2 snmpd.conf files)

Steve




________________________________
From: Steve Miller <[email protected]>
To: [email protected]
Cc: [email protected]
Sent: Wednesday, November 5, 2008 4:58:56 PM
Subject: Re: snmpv3 "createuser" usage


Hi Thomas,

I've tried the way you mentioned and failed.  I got unknown user error..  Further observation showed that after inovokattion, the createuser entry in /var/lib/snmp/snmpd.conf was  "substituted by this line,  setserialno 168361985, only.  No usmUser line was generated.  My /%PATH/var-net-snmp/snmpd.conf still has the entry of "rwuser user1" and my /usr/lcal/share/snmp/snmpd.conf is blank.  Is it possible that my "%PATH/var-net-snmp/snmpd.conf" is causing the problem?   
thx

Steve



________________________________
From: Thomas Anders <[email protected]>
To: Steve Miller <[email protected]>
Cc: [email protected]
Sent: Wednesday, November 5, 2008 2:30:46 PM
Subject: Re: snmpv3 "createuser" usage

Steve Miller wrote:
> I am trying to access the agent via snmpv3.  I have a createuser entry
> in my /%PATH/var/net-snmp/snmd.conf file and the agent is able to use it
> and properly repond the queries.  Once the agent is invoked, there is a
> corresponding usmuser entry being created in the
> /var/lib/snmpd/snmpd.conf.    Now, my question is that the original
> createuser entry is still in my /%PATH/var/net-snmp/snmd.conf file
> which exposes the passwords to any one reading this file.  Am I doing
> something wrong here?  Please advise.

Put the createUser statement into /var/lib/snmpd/snmpd.conf. It will be
*substituted* by the corresponding usmUser line.


+Thomas

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.