setupftp — Command Reference
Install Pure-FTPd, rebuild FTP configuration or interactively create a virtual FTP account.
Install Pure-FTPd, rebuild FTP configuration or interactively create a virtual FTP account.
Requirements
Run as root on the Eenos server. Supported FTP setup and an existing managed domain/account for virtual-user creation.
Usage
The following example uses the operation described below; replace example identities and paths before use:
/usr/local/eenos/scripts/setupftp --rebuildconfArguments and options
| Syntax | Meaning |
|---|---|
-i, --install | Install Pure-FTPd. |
-rb, --rebuildconf | Rebuild FTP configuration. |
-a, --addaccount | Prompt for a virtual FTP account, password, home and quota. |
This uses a positional/legacy parser. Choose one operation and keep its value order. Do not assume argparse-style --option=value, option combinations or --help support.
Operational effects
Installation/configuration writes service settings; --addaccount prompts for a virtual user, password, home folder and quota.
Verify the result
Check FTP service health, the intended account root and its quota.
Check operation output and the relevant service/application state. Several legacy wrappers exit successfully after logging a handler failure, so a zero shell exit status alone is not proof of completion.