From owner-freebsd-questions@FreeBSD.ORG Tue Dec 14 16:24:21 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 179E016A4CE for ; Tue, 14 Dec 2004 16:24:21 +0000 (GMT) Received: from ms05.mailstreet2003.net (MS05.mailstreet2003.net [63.251.155.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CC8543D45 for ; Tue, 14 Dec 2004 16:24:20 +0000 (GMT) (envelope-from chris@sigd.net) X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Tue, 14 Dec 2004 11:24:02 -0500 Message-ID: <6FC9F9894A9F8C49A722CF9F2132FC22029EBB57@ms05.mailstreet2003.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: sftp and shell access Thread-Index: AcTh+BAMgTpYjEUuSQGvNc0B6oO4lQAARk/g From: "Haulmark, Chris" To: "Josh Paetzel" , Subject: RE: 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:24:21 -0000 Someone broke the silence:=20 > 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.=20 >=20 > Any pointers would be appreciated...I've tried the FAQ, handbook and > google so far. I have used scponly and rssh for those purposes. Both of them are in the ports. Chris