![]() |
Now serving 104 guides. |
|
Enable and Disable Anonymous FTP General Information This guide describes the steps for both enabling and disabling anonymous FTP.Requirements
Configuration All needed features are installed by default - only configuration is needed.Enabling Anonymous FTP Enabling anonymous FTP can be done during installation. If it must be done after the installation, do the following:
/var/ftp by default. I like to put it in /usr/ftp. The Upload Subdirectory field is incoming by default. Leave the defaults or make any configuration changes if desired.Note: For read-only mode, make sure the Upload Subdirectory field is blank. Sysinstall creates the user and the home directory but does not configure and enable inetd or set it to launch at startup. To configure inetd, edit the/etc/inetd.conf.
Note: If you want the daemon to start in read-only mode, add a -r.
Note: If inetd is already started send it a hang-up (HUP) signal to restart it.
/etc/rc.conf to start inetd.conf at startup.
Disabling Anomymous FTP While sysinstall is easily used to enable anonymous ftp, it does not disable it. This must be done manually.Remove the ftp user.
Note: This command prompts to confirm the username and to ask whether the home directory should be deleted. Use -y to automatically answer yes to these prompts.
Note: If inetd is only running ftp, inetd may be stopped altogether and it can be removed from /etc/rc.conf. Verify that inetd is no longer open on port 21 with the following command.
Author: Jared Barneck Find this guide useful?
Support the author: |
Copyright 2003 - 2008 BSD Guides. All rights reserved. |
About | Terms of Use | Privacy | Contact |



