Net-snmp user creation: Difference between revisions
Jump to navigation
Jump to search
imported>Jawadmin No edit summary |
imported>Jawadmin No edit summary |
||
| Line 4: | Line 4: | ||
* [[OpenSSL Certificate Authority]] | * [[OpenSSL Certificate Authority]] | ||
* [[NetAtalk setup]] | * [[NetAtalk setup]] | ||
<hr><p style="text align:left;"> | |||
Return [[net-snmp configuration]] | |||
<span style="float:right;"> | |||
Next [[OpenSSL Certificate Authority]] | |||
</span></p><hr> | |||
1) Stop snmp | 1) Stop snmp | ||
| Line 31: | Line 35: | ||
Starting snmpd. | Starting snmpd. | ||
[~]$ | [~]$ | ||
<hr><p style="text align:left;"> | |||
Return [[net-snmp configuration]] | |||
<span style="float:right;"> | |||
Next [[OpenSSL Certificate Authority]] | |||
</span></p> | |||
Revision as of 15:39, 23 December 2018
- ssh configuration
- net-snmp configuration
- net-snmp user creation
- OpenSSL Certificate Authority
- NetAtalk setup
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>
[~]$
4) Start snmp
[~]$ sudo service snmpd start Starting snmpd. [~]$
Return net-snmp configuration Next OpenSSL Certificate Authority