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

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