/etc/mon/auth.cf is in mon 1.2.0-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | #
# authentication file
#
# entries look like this:
# command: {user|all}[,user...]
#
# THE DEFAULT IT TO DENY ACCESS TO ALL IF THIS FILE
# DOES NOT EXIST, OR IF A COMMAND IS NOT DEFINED HERE
#
#
# command section
#
command section
ack: AUTH_ANY
checkauth: all
clear: AUTH_ANY
disable: AUTH_ANY
dump: AUTH_ANY
enable: AUTH_ANY
get: AUTH_ANY
list: all
loadstate: AUTH_ANY
protid: all
quit: all
reload: AUTH_ANY
reset: AUTH_ANY
savestate: AUTH_ANY
servertime: all
set: AUTH_ANY
start: AUTH_ANY
stop: AUTH_ANY
term: AUTH_ANY
test: AUTH_ANY
version: all
#
# trap section
#
# if no source hosts or users are defined, then do not
# accept traps
#
trap section
#source_host user password
#
# allow from user "mon" from any host
#
# * mon monpassword
#
# allow from host 127.0.0.1 without requiring
# a valid username and password
#
# 127.0.0.1 * *
#
|