Two snmpv3 users with same name and different credentials
Pushpa Thimmaiah <[email protected]> Tue, 2 Jul 2024 08:55:39 +0530
| Newsgroups | gmane.network.net-snmp.devel |
|---|---|
| Message-ID | <CAASqVJUW=fcgmnzKonhkt1YWcBZdnwA-o5gKdrER6VyajykXhA@mail.gmail.com> |
--===============0922355387306169520== Content-Type: multipart/alternative; boundary="000000000000e93fee061c3b2fec" --000000000000e93fee061c3b2fec Content-Type: text/plain; charset="UTF-8" Hi All, Could you please confirm net-snmp allows same snmpv3 user with different credentials? *Eg:* *Step1:* Stop snmptrapd Added following line in /var/net-snmp/snmptrapd.conf createUser -e 0x8000xxxx0800b0de03e6d8 p2rc54 MD5 mypassword AES128 mypassword createUser -e 0x8000xxxx0800b0de03e6d8 p2rc54 SHA512 mypassword AES256 mypassword *Step 2:* Start snmptrapd Only one entry in /var/net-snmp/snmptrapd.conf :~$ sudo cat /var/net-snmp/snmptrapd.conf | grep k2rc sudo: /etc/sudoers.d is world writable usmUser 1 3 0x8000xxxx0800b0de03e6d8 "p2rc54" "p2rc54" NULL .1.3.6.1.6.3.10.1.1.7 0xa1e3c168f53e8e2ca1b90fde5a4b7f6f925bce51379588255461be7f085c9d7eb9a500d3a4c7e9ba8df6491db7xe2bc80b0712d5072a0875b60db52af417583c .1.3.6.1.4.1.14832.1.4 0xa1e3c168f53e8e2ca1b90fde5a4b7f4f925bce51379288255461be7f085c9d7e "" Thank you, Pushpa.T --000000000000e93fee061c3b2fec Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Hi All,</div><div><br></div><div>Could you please con= firm net-snmp allows same snmpv3 user with different credentials?</div><div= ><b>Eg:</b></div><div><b>Step1:</b>=C2=A0 Stop snmptrapd Added following li= ne in=C2=A0 /var/net-snmp/snmptrapd.conf</div><div><br></div><div>createUse= r -e 0x8000xxxx0800b0de03e6d8 p2rc54 MD5 mypassword AES128 mypassword<br>cr= eateUser -e 0x8000xxxx0800b0de03e6d8 p2rc54 SHA512 mypassword AES256 mypass= word</div><div><br></div><div><b>Step 2:</b> Start snmptrapd</div><div><br>= </div><div>Only one entry in /var/net-snmp/snmptrapd.conf</div><div>:~$ sud= o cat /var/net-snmp/snmptrapd.conf | grep k2rc<br>sudo: /etc/sudoers.d is w= orld writable<br>usmUser 1 3 0x8000xxxx0800b0de03e6d8 "p2rc54" &q= uot;p2rc54" NULL .1.3.6.1.6.3.10.1.1.7 0xa1e3c168f53e8e2ca1b90fde5a4b7= f6f925bce51379588255461be7f085c9d7eb9a500d3a4c7e9ba8df6491db7xe2bc80b0712d5= 072a0875b60db52af417583c .1.3.6.1.4.1.14832.1.4 0xa1e3c168f53e8e2ca1b90fde5= a4b7f4f925bce51379288255461be7f085c9d7e ""</div><div><br></div><d= iv>Thank you,</div><div>Pushpa.T<br></div><div><br></div><div><br></div><di= v><br></div><div><br></div><div><br></div></div> --000000000000e93fee061c3b2fec-- --===============0922355387306169520== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============0922355387306169520== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders --===============0922355387306169520==--