From owner-freebsd-questions@FreeBSD.ORG Tue Dec 14 16:13:37 2004 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 1725C16A4CF for ; Tue, 14 Dec 2004 16:13:37 +0000 (GMT) Received: from sccmmhc92.asp.att.net (sccmmhc92.asp.att.net [204.127.203.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8240D43D45 for ; Tue, 14 Dec 2004 16:13:36 +0000 (GMT) (envelope-from josh@tcbug.org) Received: from twinmp (12-218-40-24.client.mchsi.com[12.218.40.24]) by sccmmhc92.asp.att.net (sccmmhc92) with ESMTP id <20041214161335m9200a9ipqe>; Tue, 14 Dec 2004 16:13:35 +0000 From: Josh Paetzel To: questions@freebsd.org Date: Tue, 14 Dec 2004 10:11:23 +0000 User-Agent: KMail/1.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200412141011.23225.josh@tcbug.org> Subject: sftp and shell access 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: Tue, 14 Dec 2004 16:13:37 -0000 I am looking for a way to give a user an sftp account without giving them a shell. So far I've tried setting their shell to /sbin/nologin, but when they try to log in via sftp it gives them a "message to long" error. Any pointers would be appreciated...I've tried the FAQ, handbook and google so far. -- Thanks, Josh Paetzel