Net-snmp user creation: Difference between revisions
Jump to navigation
Jump to search
imported>Jawadmin No edit summary |
imported>Jacob No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 26: | Line 26: | ||
[~]$ | [~]$ | ||
<hr> | |||
<p style="text align:left;">Return [[net-snmp configuration]]<span style="float:right;"> | |||
Next [[OpenSSL Certificate Authority]]</span></p> | |||
<center> Up [[Freebsd Knowledge Base]]</center> | |||
<hr> | |||
<hr><p style="text align:left;"> | |||
Return [[net-snmp configuration]] | |||
<span style="float:right;"> | |||
Next [[OpenSSL Certificate Authority]] | |||
</span></p> | |||
Latest revision as of 18:06, 12 January 2020
Return net-snmp configuration Next OpenSSL Certificate Authority
1) Stop snmp
[~]$ sudo service snmpd stop Stopping snmpd. Waiting for PIDS: 12898. [~]$
2) Add users
[~]$ sudo /usr/local/bin/net-snmp-config --create-snmpv3-user -ro -A <AUTHPASWD> \
-X <ENCRYPTPASSWD> -x AES -a SHA <ROUSER>
adding the following line to /var/net-snmp/snmpd.conf:
createUser ROsnmpFre3HpC SHA "<AUTHPASWD>" AES <ENCRYPTPASSWD>
adding the following line to /usr/local/share/snmp/snmpd.conf:
rouser <ROUSER>
[~]$ sudo /usr/local/bin/net-snmp-config --create-snmpv3-user -A <AUTHPASWD> \
-X <ENCRYPTPASSWD> -x AES -a SHA <RWUSER>
adding the following line to /var/net-snmp/snmpd.conf:
createUser <RWUSER> SHA "<AUTHPASWD>" AES <ENCRYPTPASSWD>
adding the following line to /usr/local/share/snmp/snmpd.conf:
rwuser <RWUSER>
[~]$
Return net-snmp configuration Next OpenSSL Certificate Authority