Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Feb 2002 09:25:18 -0600
From:      "Scott Gerhardt" <scott@gerhardt-it.com>
To:        "Ceri" <setantae@submonkey.net>
Cc:        "Michael Lucas" <mwlucas@blackhelicopters.org>, "FreeBSD" <freebsd-questions@FreeBSD.ORG>
Subject:   RE: Shells Question
Message-ID:  <KPEMLBLEMPMHGLJOCDEGCEJKDMAA.scott@gerhardt-it.com>
In-Reply-To: <20020205090511.GC29186@rhadamanth>

next in thread | previous in thread | raw e-mail | index | archive | help
   > 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?KPEMLBLEMPMHGLJOCDEGCEJKDMAA.scott>