From owner-freebsd-questions@FreeBSD.ORG Wed Mar 16 21:10:40 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 F399116A4CE for ; Wed, 16 Mar 2005 21:10:39 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86C4443D2D for ; Wed, 16 Mar 2005 21:10:39 +0000 (GMT) (envelope-from jeff.wirth@gmail.com) Received: by rproxy.gmail.com with SMTP id y7so281339rne for ; Wed, 16 Mar 2005 13:10:39 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=DMCA4KvJGBwFlRW9PZSsxcbdgCXUc6ti5KNgZatjnFszvQsljDVuaz+UBqYNx1I2lAh02x+PbH8dEf38uaCq6DCqsreqlSpoIB8V61o3/Yo/lxGcbx86WNT6QWDoxfAMoCpF4TfngfnBT4kA5QeTAzD66VoiWvVW6P4H1hSaJFU= Received: by 10.38.99.16 with SMTP id w16mr929687rnb; Wed, 16 Mar 2005 13:10:38 -0800 (PST) Received: by 10.38.181.68 with HTTP; Wed, 16 Mar 2005 13:10:38 -0800 (PST) Message-ID: <5d2cf69205031613107a3ba70c@mail.gmail.com> Date: Wed, 16 Mar 2005 16:10:38 -0500 From: Jeff Wirth To: jmlewis@dslextreme.com In-Reply-To: <22200a29d60a18f00a253e0a.20050316125612.wzyrjvf@www.dslextreme.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <22200a29d60a18f00a253e0a.20050316125612.wzyrjvf@www.dslextreme.com> cc: freebsd-questions@freebsd.org Subject: Re: FTP server on 5.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jeff Wirth List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Mar 2005 21:10:40 -0000 > On Wed, 16 Mar 2005 12:56:12 -0800 (PST), Joshua Lewis wrote: > I was trying to setup an FTP server last night on my 5.3 box. I was using > the handbook and was instructed to make a new user ftp. So that worked > fine and I was able to upload to ftp's home dirrectory but wanted to know > if I can safley delete the .* files in his home dirrectory. > > I was also curious, if I change the permissions on /home/ftp to 755 then > people will be able to read but not write to the dirrectory (do they need > x permission to download a file?). But how do I make it so everyone can > read but only certain users can write. My goal would to not use local > accounts but pull usernames and passwords from a MySQL database. I would > rather not transfer the username and password in clear text. > > Any thoughts or how toos I can follow? > My first thought was that if you are concerned about the integrity of your passwords during transport, you may want to look into something other then FTP. SFTP or SCP for example ( and I'm sure there are a list of other options...) http://www.openssh.org/ http://www.openbsd.org/cgi-bin/man.cgi?query=sftp http://www.openbsd.org/cgi-bin/man.cgi?query=scp -jw