twoftpd-anon-conf command not found

In this troubleshooting guide we learn how to fix twoftpd-anon-conf command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

twoftpd-anon-conf: command not found

or when using sudo you get the following error message

sudo: twoftpd-anon-conf: command not found

Solutions to twoftpd-anon-conf: command not found

How To Fix twoftpd-anon-conf: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu twoftpd-anon-conf is provided by twoftpd package.

twoftpd is:

This is twoftpd, an FTP server that strives to be secure, simple, and efficient. None of the commands can cause execution of other programs, and the normal model of execution does a chroot to the logged in user’s directory immediately after authentication.

The name “twoftpd” comes from the fact that there were two parts to the server – an authenticating front end, which contains no file or data transfer code, and a back end, which contains all the data transfer code.

This package contains the twoftpd programs.

To fix this problem, we can install more using the command below.

sudo apt-get -y install twoftpd

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install twoftpd.

sudo apt -y install twoftpd

Or if you have aptitude installed you can use the following command.

sudo aptitude install twoftpd

Summary

In this tutorial we learn how to fix twoftpd-anon-conf command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.