How to Setup FTP on FreeBSD


FreeBSD, the Unix-base operating system, is aimed primarily at system administrators and web server operators, so it should be no surprise that it has a file transfer protocol (FTP) server built in. FTPD is the FTP server preinstalled to the FreeBSD operating system. All you need to do is configure it to finish setting it up. Like most Unix-based operating systems, you have most control over the system in the Terminal command-line. All commands expressed must be entered into the command Terminal.

  • Click "System," and then "Gnome-Terminal."

  • Create a system user called "ftp" to enable anonymous access. Type "adduser" and press "Enter." Type in "ftp" and press "Enter." You can leave the rest of the user requirements blank and complete the user addition with default settings.

  • Type "/etc/ftpwelcome" and press "Enter." This file contains your FTP server welcome message. Type in the welcome message you want to display before the login screen. Save the document and return to the Terminal.

  • Type "/etc/ftpmotd" and press "Enter." Configure the message to display after a user has connected via FTP here. Save and return to the Terminal.

  • Type "/etc/inetd.conf" and press "Enter." Scroll down to the following line:

    ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l

    Remove the has (#) from the beginning of the line. Exit the file and save changes. This enables your FTP server.

  • Type "/etc/rc.conf" and press "Enter." Change the "ftpd_enable" variable to read "YES" rather than "NO." Exit and save.

  • Type "/etc/rc.d/ftpd start" and press "Enter." This enables your FTP server.

Tips & Warnings

  • Configure a list of users you want to deny access to in the "/etc/ftpusers" file. The varying permissions of users is controlled in the "/etc/ftpchroot" file.

Related Searches


Promoted By Zergnet


You May Also Like

  • How to Set Up an FTP Server in Vista

    Business, Enterprise and Ultimate editions of Windows Vista include Microsoft's Internet Information Services server software, which includes a file transfer protocol server....

  • How to Set Up the Remote Desktop in FreeBSD

    The operating system FreeBSD can connect to a Windows computer through the Remote Desktop Connection protocol, using the "rdesktop" program. Depending on...

  • How to Install FreeBSD on a Flash Drive

    FreeBSD is a Unix-like operating system that is based on BSD UNIX. It offers users advanced networking capabilities, high performance and built-in...

Related Searches

Check It Out

Geek Vs Geek: Robot battles, hoverboard drag race, and more

Is DIY in your DNA? Become part of our maker community.
Submit Your Work!