carta
twoftpd-switch(1)

twoftpd-switch1

Twoftpd back-end switcher.

Usage

twoftpd-switch

Overview

twoftpd-switch examines the value of $SHELL to determine which back-end to execute. If $SHELL_WRITEONLY is set and matches the value of $SHELL, twoftpd-drop is executed. If $SHELL_READONLY is set and matches the value of $SHELL, twoftpd-anon is executed. Otherwise, twoftpd-xfer is executed.

Notes

twoftpd-switch prefixes the commands with the path in which the programs were installed.

From twoftpd 1.42-1.2 in Debian 11 (Bullseye). Parsed by carta from the page's man source.