From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 00:52:03 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CC45216A400 for ; Mon, 30 Apr 2007 00:52:03 +0000 (UTC) (envelope-from chris@hier7.com) Received: from smtp106.rog.mail.re2.yahoo.com (smtp106.rog.mail.re2.yahoo.com [68.142.225.204]) by mx1.freebsd.org (Postfix) with SMTP id 67BF213C483 for ; Mon, 30 Apr 2007 00:52:02 +0000 (UTC) (envelope-from chris@hier7.com) Received: (qmail 57776 invoked from network); 30 Apr 2007 00:52:02 -0000 Received: from unknown (HELO ?172.27.1.5?) (cms.kw@rogers.com@74.109.56.227 with plain) by smtp106.rog.mail.re2.yahoo.com with SMTP; 30 Apr 2007 00:52:02 -0000 X-YMail-OSG: XWG2pLAVM1n4qtKgVfNMeBOa948Sh39LEAUcRgC1wgp15OczwOFjeufM_Ks_KSNr5A-- Message-ID: <46353DB8.20105@hier7.com> Date: Sun, 29 Apr 2007 20:52:08 -0400 From: Chris Slothouber Organization: hier7 User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: ray@stilltech.net References: <200704291104.18905.ray@stilltech.net> In-Reply-To: <200704291104.18905.ray@stilltech.net> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: allow ftp access, not shell access X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2007 00:52:03 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2007-04-29 13:04, Ray wrote: > Hello, > I want to allow ftp access to other users, without giving them shell access. > how do I configure the adduser command to accomplish this, or is this there > some other way? > I have tried some things from google / man pages, but I'm not getting it. > user ftp home directory will be adjusted in the ftpchroot file. Hi Ray, You can set the user's shell to /sbin/nologin. Also make sure this is listed in /etc/shells if you're using FreeBSD's ftpd or lukemftpd. Hope this helps. Thanks! - -- Chris Slothouber (chris@hier7.com) -=- Mercenary Sysadmin BIZ: http://www.hier7.com -=- building.better.ideas PGP: 7A83 F021 5AC3 4BD7 6738 21D8 B348 0B16 79C0 C27F -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGNT24s0gLFnnAwn8RAkfeAKCAgWU965msH0hONOsTgDvvB60XWgCguH5f rXc5v0NptiAof5ECx4HBkQc= =Pq1O -----END PGP SIGNATURE-----