Users

Developers

mod_auth_simple

Authenticate users against a simple text-file.

Loading the plugin

On Unix systems:

plugin /var/lib/uhub/mod_auth_simple.so "file=<filename>"

Windows systems:

plugin c:\path\to\mod_auth_simple.dll "file=<filename>"

Details

This plug-in allows users to authenticate against a simple text file.

File syntax

Each line must be on the format:
credentials username password

If you have spaces in the password it can be escaped with a "\" or the string can be quoted. Empty lines are ignored, and everything after # is considered as a comment.

Example file

# Eddy is an Operator
operator "Eddy" "secret password"

# Roger is a registered user (no special privileges)
user "Roger" "pinB4ll"

# The hub administrator
admin "Administrator" "SetecAstronomy"

Username:
Password: