mirror of
https://github.com/D-Modem/login.git
synced 2026-11-28 12:28:07 -08:00
Items take users, groups ([groups], or the system's for auth = system),
min_baud, callerids and guest; a caller neither sees nor can choose an
item they may not use.
time_limit limits a call and daily_limit a user's calls in a day (kept
in state_dir/usage under a lock); a selection is hung up at the limit,
and {time_left} / MODEM_TIME_LEFT tell what is left.
[guest] logs in by name without a password, to the guest = yes items
for its own time_limit. [signup] adds new accounts to the users file
with a bcrypt hash, locked (user:!hash) until the sysop unlocks them
unless pending = no; the file backend refuses locked accounts.
[callerid] allow, deny and anonymous decide which calls the line takes;
[number PATTERN] sections deny a number, log it in as a user, or start
an item at once.
Comments may follow a value after a space; \; and \# escape them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RvtV8Dg9kqRaakbTEfyH3f
10 lines
324 B
Plaintext
10 lines
324 B
Plaintext
# modemmenu.users - user:password, one per line (mode 0600)
|
|
#
|
|
# modemmenu -hash prints the bcrypt hash of a password
|
|
#
|
|
# user:!hash is locked (signup's pending accounts): remove the ! to unlock.
|
|
# What follows a second : is a note (signup writes its date and caller ID).
|
|
#
|
|
# guest:{PLAIN}guest
|
|
# alice:$2a$10$...
|