diff --git a/kippo.cfg.dist b/kippo.cfg.dist index 7ed1b0d3..00cb518e 100644 --- a/kippo.cfg.dist +++ b/kippo.cfg.dist @@ -69,6 +69,24 @@ filesystem_file = fs.pickle # (default: data_path) data_path = data +# Class that implements the checklogin() method. +# +# Class must be defined in kippo/core/auth.py +# Default is the 'UserDB' class which uses the password database. +# +# Alternatively the 'AuthRandom' class can be used, which will let +# a user login after a random number of attempts. +# It will also cache username/password combinations that allow login. +# +auth_class = UserDB +# When AuthRandom is used also set the +# auth_class_parameters: , , +# for example: 2, 5, 10 = allows access after randint(2,5) attempts +# and cache 10 combinations. +# +#auth_class = AuthRandom +#auth_class_parameters = 2, 5, 10 + # Directory for creating simple commands that only output text. # # The command must be placed under this directory with the proper path, such