RE: Changing passwords using net-snmp 5.3.2

Sergio Cabaço <[email protected]>
Newsgroups gmane.network.net-snmp.devel,gmane.network.net-snmp.user
Message-ID <[email protected]>
My passwords are greater than 8 chars. Another thing I've notice is that, the engineBoot is always 1 and never increments? I thing this might be a problem but I don't know the solution either. This engineBoot is in the same file, the snmpd.conf.

Thank you once more,
Sérgio Cabaço

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Dave Shield
Sent: quarta-feira, 18 de Fevereiro de 2009 20:29
To: Sergio Cabaço
Cc: [email protected]; [email protected]
Subject: Re: Changing passwords using net-snmp 5.3.2

2009/2/18 Sergio Cabaço <[email protected]>:
>  At this moment, my problem is that I'm inserting "create User" directives

without the space, I trust....

> in the snmpd.conf file that says something like
> "do not edit... unless it is a create user token and you are de admin".

That's fine - you are adding the one token that is valid here.



> I've inserted the tokens because I'm the system admin and saved the file.
> Then I started the agent. Then, with the agent running, I looked again at
> the snmpd.conf file where I've inserted the tokens and there's nothing
> there except the EngineBoots and oldEngineId.

Silly question - how long is the password you are using?
Is it greater than 8 characters?

If not, then the agent will indeed delete the "createUser" line and
leave nothing in its place.   In such a situation, if you check the log
files, you should see that it's complaining about the password length.

If that's not the case, then I'm not sure what is going wrong.
I've just tried this on my system, and it definitely works as expected.

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