Date: Tue, 5 Feb 2002 15:39:03 +0000 From: Ceri <setantae@submonkey.net> To: Scott Gerhardt <scott@gerhardt-it.com> Cc: Michael Lucas <mwlucas@blackhelicopters.org>, FreeBSD <freebsd-questions@FreeBSD.ORG> Subject: Re: Shells Question Message-ID: <20020205153903.GA37521@rhadamanth> In-Reply-To: <KPEMLBLEMPMHGLJOCDEGCEJKDMAA.scott@gerhardt-it.com> References: <20020205090511.GC29186@rhadamanth> <KPEMLBLEMPMHGLJOCDEGCEJKDMAA.scott@gerhardt-it.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020205153903.GA37521>