From owner-freebsd-questions Tue Feb 5 7:25:17 2002 Delivered-To: freebsd-questions@freebsd.org Received: from indigo.quadrant.net (indigo.quadrant.net [207.195.92.9]) by hub.freebsd.org (Postfix) with ESMTP id 0DE3037B43F for ; Tue, 5 Feb 2002 07:25:06 -0800 (PST) Received: from git2000 (gw.gerhardt-it.com [204.83.38.103]) by indigo.quadrant.net (8.9.1/8.9.1) with SMTP id JAA20490; Tue, 5 Feb 2002 09:24:58 -0600 (CST) From: "Scott Gerhardt" To: "Ceri" Cc: "Michael Lucas" , "FreeBSD" Subject: RE: Shells Question Date: Tue, 5 Feb 2002 09:25:18 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <20020205090511.GC29186@rhadamanth> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal 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 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. - Scott To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message