From owner-freebsd-questions Tue Feb 5 7:39:23 2002 Delivered-To: freebsd-questions@freebsd.org Received: from relay3-gui.server.ntli.net (relay3-gui.server.ntli.net [194.168.4.200]) by hub.freebsd.org (Postfix) with ESMTP id 2866737B428 for ; Tue, 5 Feb 2002 07:39:14 -0800 (PST) Received: from pc4-card4-0-cust162.cdf.cable.ntl.com ([80.4.14.162] helo=rhadamanth.private.submonkey.net ident=mailnull) by relay3-gui.server.ntli.net with esmtp (Exim 3.03 #2) id 16Y7gW-0007Po-00; Tue, 05 Feb 2002 15:39:04 +0000 Received: from setantae by rhadamanth.private.submonkey.net with local (Exim 3.34 #1) id 16Y7gV-0009n4-00; Tue, 05 Feb 2002 15:39:03 +0000 Date: Tue, 5 Feb 2002 15:39:03 +0000 From: Ceri To: Scott Gerhardt Cc: Michael Lucas , FreeBSD Subject: Re: Shells Question Message-ID: <20020205153903.GA37521@rhadamanth> Mail-Followup-To: Ceri , Scott Gerhardt , Michael Lucas , FreeBSD References: <20020205090511.GC29186@rhadamanth> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Feb 05, 2002 at 09:25:18AM -0600, Scott Gerhardt wrote: > > On Mon, Feb 04, 2002 at 02:02:07PM -0600, Scott Gerhardt wrote: > > > > > > > Oh, okay. Then I would recommend /usr/ports/sysutils/no-login > > > > > > > > It's an actualy C program, so it avoids spawning a new shell. > > > > > > > > On Mon, Feb 04, 2002 at 01:45:02PM -0600, Scott Gerhardt wrote: > > > > > > > > > I can still use /nonexistent which spawns nothing? > > > > ftpd shouldn't let you in with /nonexistent set as the shell. > > > > man ftpd : > > > > 4. The user must have a standard shell returned by > > getusershell(3). > > > > Ceri > > I just created a user with /nonexistent for a shell and added /nonexistent > to /etc/shells and ftpd works fine. > > Give it a try yourself. Adding it to /etc/shells makes it "standard shell returned by getusershell(3)". Not much mystery there :) Ceri -- keep a mild groove on To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message