RE: Weird behavior when setting trap destination with same username asthe agent username

"Mike Ayers" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <83E753BE7B6A324ABB336245BAF1DAAC0C8BB9F3@mailserver.metatv-ds.metatv.com>
> From: Dave Stav [mailto:[email protected]] 
> Sent: Tuesday, June 23, 2009 9:04 AM

> Hello List,

	[chorus]Hi, Dave[/chorus]

> I have noticed an interesting phenomenon when configuring 
> trap destinations and I wanted to ask if this is a bug in 
> net-snmp or is it some behavior I simply do not understand.
> 
> I am running a net-snmp version 5.4.2 on an embedded linux 
> system with kernel 2.6.26-2-686.
> 
> My /etc/snmp/pvgsnmpd.conf contains the following 2 lines only:
> ###########################
> sysservices 1
> rwuser admin  noauth
> ###########################
> 
> And before running the agent for the first time I wrote the 
> following to my /var/lib/net-snmp/pvgsnmpd.conf :
> ###########################
> createUser admin MD5 "administrator"
> ###########################

	Whoa!  That's two "admin" users, otherwise known as "clobbering".  Your problems begin here.  Use only one of these, or change the name of one.

> This allows me to connect to the agent using username admin 
> and either password administrator or user admin with no password.

	...which makes no sense - optional password?  "This safe has a combination, but you can also just turn the handle and the door opens".

	Fix the users and try again, please.


	HTH,

Mike

------------------------------------------------------------------------------
_______________________________________________
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.