From owner-freebsd-questions@FreeBSD.ORG Wed Mar 16 21:30:25 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 B4EB116A4CE for ; Wed, 16 Mar 2005 21:30:25 +0000 (GMT) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6628C43D46 for ; Wed, 16 Mar 2005 21:30:25 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from mac.com (smtpin08-en2 [10.13.10.153])j2GLULAP004946; Wed, 16 Mar 2005 13:30:22 -0800 (PST) Received: from [10.1.1.245] (nfw2.codefab.com [199.103.21.225] (may be forged)) (authenticated bits=0)j2GLUKeZ007795; Wed, 16 Mar 2005 13:30:21 -0800 (PST) In-Reply-To: <22200a29d60a18f00a253e0a.20050316125612.wzyrjvf@www.dslextreme.com> References: <22200a29d60a18f00a253e0a.20050316125612.wzyrjvf@www.dslextreme.com> Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <5cbd94c447738b05542ca4418eec87b3@mac.com> Content-Transfer-Encoding: 7bit From: Charles Swiger Date: Wed, 16 Mar 2005 16:30:19 -0500 To: jmlewis@dslextreme.com X-Mailer: Apple Mail (2.619.2) 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Mar 2005 21:30:25 -0000 On Mar 16, 2005, at 3:56 PM, 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. Yes. > 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. If you want to permit certain users to write, the normal way of doing so is to create standard Unix user accounts for them, and use a shell of /usr/sbin/nologin. However, if you care about account security, do not use FTP. SSH and scp are the way to go.... -- -Chuck