Files
bbs/docs/wiki/Administration.md
T
Claude 34d2bae4d3 Permanent chat rooms, held open by BBSServ
The sysop makes a room permanent (BBSServ ROOM ADD #room [topic], or
bbs room add): kept open when empty and across restarts (chat_rooms),
with a topic.  Coming in shows the topic; setting it (BBSServ ROOM
TOPIC, TOPIC in the channel, /topic in the BBS's chat; the sysop only)
tells those in the room.  ROOM DEL lets a room go with its last caller.

On IRC, BBSServ sits in each permanent channel as an operator (NAMES,
WHO, WHOIS's channels), LIST shows the rooms with their topics even
when empty, JOIN and TOPIC give 332; ROOMS lists them for anyone.  On
the BBS, /rooms marks them with their topics.  Numerics' last
parameters are now always trailing, as clients expect of lists.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
2026-10-12 19:47:43 +00:00

3.6 KiB

Everything is done with the bbs command, on the configuration the BBS runs with (-config FILE; without it, the defaults and bbs.db here). These are safe to run while the BBS is serving.

Users

bbs user list
bbs user add NAME [-sysop]          # asks for the password (or reads it from a pipe)
bbs user passwd NAME
bbs user lock NAME                  # and unlock
bbs user sysop NAME                 # and unsysop
bbs user del NAME                   # their mail goes; their messages stay

The database

bbs db copy DATABASE                # into a new one: a path, postgres://..., mysql://...

See Databases.

Access

bbs user level NAME N               # 0-255
bbs user flags NAME +AB -C          # or AB: exactly those
bbs user waiting                    # under validated_level
bbs user validate NAME
bbs area require AREA READ POST     # "30 F", sysop, - for none
bbs filearea require AREA DOWNLOAD UPLOAD

See Access levels.

SSH keys

bbs sshkey add USER FILE            # each authorized_keys line in FILE (- : stdin)
bbs sshkey list [USER]
bbs sshkey del ID

Users add their own from their profile, or by the API: SSH.

Message areas

bbs area list
bbs area add NAME "DESCRIPTION" [-sysop-only]
bbs area del NAME                   # and its messages
bbs area newsgroup AREA GROUP       # make it a newsgroup (- : no longer)
bbs area echo AREA TAG              # make it a FidoNet echo (- : no longer)
bbs area group AREA GROUP           # list it under a group (- : none)
bbs area aliases AREA yes|no        # whether its posters may use their aliases
bbs area keep AREA MESSAGES DAYS    # keep the newest MESSAGES, for DAYS (0: no limit)
bbs area purge                      # take away what areas keep no more, now

What an area keeps is enforced hourly while the BBS runs (and by bbs area purge): beyond its newest MESSAGES, and older than DAYS, messages go, with their votes and polls.

A sysop also adds areas from the BBS (+ in the message areas) and deletes any message. Newsgroups: Newsgroups and NNTP; echoes: FidoNet.

File areas

bbs filearea list
bbs filearea add NAME "DESCRIPTION" [-sysop-upload]
bbs filearea del NAME
bbs file add AREA PATH ["DESCRIPTION"]   # as the first sysop
bbs file list AREA
bbs file del AREA NAME

See Files and FTP.

Mail exchange

bbs news sync [PEER]                # exchange articles with news peers now
bbs fido poll [LINK]                # call FidoNet links now
bbs fido scan [LINK]                # pack new mail into the outbound
bbs fido toss [LINK]                # take in what has come
bbs qwknet call [NET]               # call QWK networks' hubs now
bbs user qwknode|unqwknode NAME     # an account a QWK node calls this hub as

Chat rooms

bbs room list                       # the permanent rooms, with their topics
bbs room add ROOM ["TOPIC"]         # kept open when empty (IRC: held by BBSServ)
bbs room topic ROOM ["TOPIC"]       # set its topic (none: clear it)
bbs room del ROOM                   # it goes with its last caller

See IRC. A running BBS takes these at its next start; BBSServ's ROOM changes it at once.

The server does all of these on its own schedule; these are for now.

The rest

bbs check                           # read the configuration, show its warnings
bbs init                            # make the database, with two areas
bbs [serve]                         # answer callers

See also: Running, Configuration