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 57 58 59 60 61 62 63 64 65 66 67 68
|
# Example diald config file for "auth simple <name>" commands.
# The diald config option "authsimple" should specify the pathname
# of this file (or a file similar to this). Connections via TCP
# may use the "auth simple <name>" control command to claim the
# permissions relevant to "<name>" specified in this file.
# If the "<name>" is not found the connection will revert to the
# default permissions specified by the "*" entry at the bottom
# of this file (this matches anything so entries beyond this
# will be ignored). If this entry is missing the default permissions
# compiled in to diald will be used - usually control,auth,monitor.
# The format of this file is, hopefully, self explanatory. The available
# permission flags are:
#
# control - Allow commands to be issued. If this is not set all
# received data is treated as being a "message" command
# argument.
# config - Allow *any* diald configuration option to be changed
# using the "config" command.
# block - Allows the "block" command to be issued.
# unblock - Allows the "unblock" command to be issued.
# force - Allows the "force" command to be issued.
# unforce - Allows the "unforce" command to be issued.
# down - Allows the "down" command to be issued.
# up - Allows the "up" command to be issued.
# delquit - Allows the "delquit" command to be issued.
# quit - Allows the "quit" command to be issued.
# reset - Allows the "reset" command to be issued.
# queue - Allows the "queue" command to be issued.
# debug - Allows the "debug" command to be issued.
# dynamic - Allows the "dynamic" command to be issued.
# This is normally only issued to the control FIFO and
# not via a TCP connection so should not normally be set.
# monitor - Allows the "monitor" command to be issued.
# message - Allows the "message" command to be issued.
# connect - Allows the "connect" command to be issued.
# This is normally only issued to the control FIFO and
# not via a TCP connection so should not normally be set.
# demand - Allows the "demand" command to be issued.
# nodemand - Allows the "nodemand" command to be issued.
# auth - Allows the "auth" command to be issued.
# If this is not set it will not be possible to change
# the permission flags again.
# A nobody cannot do anything. All further lines received on
# this connection will be treated as messages. Once you are a
# nobody you can never change it.
nobody 0
# A deity can do anything and everything.
deity 0xffffffff
# The initial access flags when a connection is opened allow you
# to send commands, request monitor data and authenticate as
# someone other than "default".
# Diald will attempt to authenticate new TCP connections using
# "auth simple default".
default control,auth,monitor
# A plain user is allowed to request the link go up or down as well.
user control,auth,monitor,up,down
# An admin can block or force the link and enable/disable demand dialling.
admin control,auth,monitor,up,down,block,unblock,demand,nodemand,force,unforce
# Anything not matched above causes the access flags to be set back
# to a minimum.
* control,auth,monitor
|