From owner-freebsd-questions@FreeBSD.ORG Thu Mar 24 20:34:46 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C7B0F16A4CE for ; Thu, 24 Mar 2005 20:34:46 +0000 (GMT) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29D7143D58 for ; Thu, 24 Mar 2005 20:34:46 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from [69.27.131.0] ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.211); Thu, 24 Mar 2005 14:31:36 -0600 Message-ID: <42432463.7090403@daleco.biz> Date: Thu, 24 Mar 2005 14:34:43 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041210 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Christopher Nehren References: <42430C4A.3080200@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 24 Mar 2005 20:31:36.0885 (UTC) FILETIME=[79FBCE50:01C530B0] cc: freebsd-questions@freebsd.org cc: roeland.hemsteede@gmail.com Subject: Re: Autostart files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2005 20:34:46 -0000 Christopher Nehren wrote: >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >On 2005-03-24, Roeland Hemsteede scribbled these >curious markings: > > >>I recently installed the ftp port "wu-ftpd" from /usr/ports/ftp/wu-ftpd. >>However I cant find out how to start this, I want to add this to the >>autostart by adding a line to my rc.conf but am unsure what line to add. >>I tried wu-ftpd_enable="yes" but this didnt work, can someone help me >>out and tell me what line to add? >> >> > >You need to create your own startup script in order to make wu-ftpd >work. I suggest following an example from another port. > > > However, a startup script _could_ be as simple as whatever command you would issue at the CLI to start the program, on a single line, saved as "uniquefilename.sh" and placed under /usr/local/etc/rc.d/. It is also quite possible to instruct cron to start this server via root's crontab: @reboot /usr/local/bin/someprogram -c /home/me/myconfig 2>&1 However, a more complex script allows easy stopping or restarting of the daemon, eliminating the need to look up PID's and/or call kill(1), etc. Kevin Kinsey PS > I can't comment on wu-ftpd's security, but it sure looks like Christopher's warning deserves serious attention, at least up to the point of making further inquiries via BuqTraq, a search engine, etc... >And, although normally I wouldn't do this, I can't send this reply in >good conscience without warning you about wu-ftpd's horrid security >record. People have even coined a phrase about Wu-FTPd's security >record: "Providing remote root since at least 1994." ProFTPD isn't much >better, either. I strongly recommend you either use the FTP daemon that >ships with FreeBSD or install something with a better record, like >PureFTPD. > >Best Regards, >Christopher Nehren > >