2009/2/18 Sergio Cabaço <[email protected]>: > I've already sent an email about this topic but this time I'll tried to be > more cleared. > > I'm using net-snmp 5.3.2 and I'm trying to change the passwords for the users > using the command snmpusm. > The configuration file, snmpd.conf, used is as shown, > ... > rwuser user1 authnopriv > rwuser user2 authpriv > > createUser user1 MD5 pass1 > createUser user2 MD5 pass2 DES pass2
What Wes is suggesting is that you should delete these two "createUser" lines from the (static) snmpd.conf file, and put them into /var/net-snmp/snmpd.conf instead. Because the users are currently being created in the wrong place, they are effectively read-only, and the snmpusm command isn't allowed to change the password. (Since the agent won't rewrite the snmpd.conf file, which includes the original passwords) If the users are created in the dynamic snmpd.conf file, then these (or equivalent) lines can be updated automatically by the agent. It then makes sense to allow snmpusm to change the password. But not if you create the users in the main snmpd.conf file. 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 _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
