I have the following questions about the configuration of snmpd service on Ubuntu server 16.04 LTS:
Question 1:
In the /etc/snmp/snmpd.conf
, there is a snippet of comment:
###############################################################################
#
# SNMPv3 AUTHENTICATION
#
# Note that these particular settings don't actually belong here.
# They should be copied to the file /var/lib/snmp/snmpd.conf
# and the passwords changed, before being uncommented in that file *only*.
# Then restart the agent
Note the They should be copied to the file /var/lib/snmp/snmpd.conf
part.
But in the /var/lib/snmp/snmpd.conf
, there's another snippet of comment:
############################################################################
# STOP STOP STOP STOP STOP STOP STOP STOP STOP
#
# **** DO NOT EDIT THIS FILE ****
#
# STOP STOP STOP STOP STOP STOP STOP STOP STOP
############################################################################
So should I create user in /var/lib/snmp/snmpd.conf
or not?
Question 2:
Should the password part of createUser
be cleartext or digest?