twoftpd-switch(1)
π twoftpd-switch β the TwoFTPD back-end switcher π
ok so real talk bestie, this one lives in the General Commands Manual, section 1, and it's literally the little bouncer at the door of TwoFTPD who decides which back-end gets to come in. no cap. πͺβ¨
β¨ SYNOPSIS β¨
twoftpd-switch
that's it. that's the whole vibe. no flags, no args, she just knows. π
π¦ DESCRIPTION π¦
okay so here's the tea, and it's actually so simple:
twoftpd-switch looks at the value of $SHELL to figure out which back-end it should run. and then it's giving β¨choicesβ¨:
- if
$SHELL_WRITEONLYis set and it matches the value of$SHELLβ she runstwoftpd-drop - if
$SHELL_READONLYis set and it matches the value of$SHELLβ she runstwoftpd-anon - otherwise? default behaviour, main character energy β she runs
twoftpd-xfer
so basically $SHELL is the vibe check, and $SHELL_WRITEONLY / $SHELL_READONLY are the two besties she's comparing it against. if neither of them matches up, twoftpd-xfer is the fallback and honestly she ate. π
πΈ NOTES πΈ
before she runs any of these, twoftpd-switch prefixes the commands with the path in which the programs were installed. so she's not just yelling a bare name into the void, she knows exactly where her girls live. ππ«Ά
π SEE ALSO π
and that's the whole page, babe. this icon was written up as twoftpd-switch(1) in the General Commands Manual β go forth and switch those back-ends responsibly. mwah. πππ
π¦ where this page comes from
- ubuntu jammy: twoftpd 1.42-1.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms