Antw: Re: Adding user failed if the user name with special character

2016-11-28 Thread Ulrich Windl
>>> Robert Story schrieb am 29.11.2016 um 04:15 in Nachricht <20161128221525.010ab...@freesnmp.com>: > On Tue, 22 Nov 2016 19:26:50 + cai wrote: > CA> But I found, when I include some special letters like dash or > CA> underscore in user name, it will failed to show correct user > CA> in /var/

Re: Change snmptrapd user

2016-11-28 Thread Robert Story
On Fri, 25 Nov 2016 08:00:30 -0500 (EST) Josef wrote: JR> Hi, is there some way how to edit snmptrapd user (change user's JR> password etc)? Something like snmpusm that is used for editing JR> snmpd users? You should be able to use snmpusm and specify -n snmptrapd to edit snmptrapd's usm user tabl

Re: Adding user failed if the user name with special character

2016-11-28 Thread Robert Story
On Tue, 22 Nov 2016 19:26:50 + cai wrote: CA> But I found, when I include some special letters like dash or CA> underscore in user name, it will failed to show correct user CA> in /var/net-snmp/snmpd.conf. For example, when user name is CA> "testsnmp-1", then result is: CA> CA> usmUser 1 3 0x8

RE: start snmpd failed if using user-specific config file

2016-11-28 Thread fx YAN BING
Robert Thank you for your help. About this problem, I've got an answer from Taylor Ben 3 days ago. He suggested me to replace the apt-get installed snmpd (/usr/sbin/snmpd) with my compiled snmpd. And it worked. By the way, if I remove apt-get installed snmpd, it also works. /snmp.me/sbin/snmpd

Adding user failed if the user name with special character

2016-11-28 Thread cai an
Hi, I am trying to use net-snmp. What I know now is to change two files to add a new snmp user into snmpd: - add "rouser "" in /usr/local/share/snmp/snmpd.conf - add createUser in /var/net-snmp/snmpd.conf file, for example like createUser testsnmp SHA "12345678" AES "12345678"; then afte