Date: Sun, 06 Mar 2005 08:11:12 -0600 From: "Ryan J. Cavicchioni" <ryan@confabulator.net> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Running vsftpd standalone vs inetd Message-ID: <422B0F80.5090807@confabulator.net> In-Reply-To: <44br9weves.fsf@be-well.ilk.org> References: <810a540e05030417046fe6b101@mail.gmail.com> <44br9weves.fsf@be-well.ilk.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--=======AVGMAIL-422B0F82206A=======
Content-Transfer-Encoding: 7bit
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
   Hi Pat,
   I wrote this to startup vsftpd. It is not the prettiest script and I
   am sure there is a way to do it better but it will give you a start.
   Place it in your /usr/local/etc/rc.d directory and make it executable.
     #!/bin/sh
     echo -n 'vsftpd'
     case "$1" in
     start)
         echo "Starting vsftpd ..."
         /usr/local/sbin/vsftpd &
         ;;
     stop)
         echo "Stopping vsftpd ..."
         killall vsftpd
         ;;
     *)
         echo "Usage: 'basename $0' {start|stop}" >&2
         exit 64
         ;;
     esac
     exit 0
   Hope that helps.
   Lowell Gilbert wrote:
Pat Maddox [1]<pergesu@gmail.com> writes:
Is it better to run vsftpd standalone or using inetd?  A friend of
mine told me that it's more secure to do it standalone, and apparently
that's the recommended method now.
Somewhat, yes.  A lot of people don't trust inetd at all, and most of
its advantages can be overcome by just buying a little more memory.
If that's the case, how do I go about getting vsftpd to run when the
machine boots up?  It doesn't look like there's a vsftpd_enable that I
can use, like I can with other services.
No, looks like you'll have to write your own startup script.
No big deal -- just look at "man rc".
References
   1. mailto:pergesu@gmail.com
--=======AVGMAIL-422B0F82206A=======
Content-Type: text/plain; x-avg=cert; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Content-Description: "AVG certification"
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.5.5 - Release Date: 3/1/2005
--=======AVGMAIL-422B0F82206A=======--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?422B0F80.5090807>
