From owner-freebsd-questions Thu Feb 20 20:37:14 2003 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 E75A537B401 for ; Thu, 20 Feb 2003 20:37:12 -0800 (PST) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id D63EB43FA3 for ; Thu, 20 Feb 2003 20:37:11 -0800 (PST) (envelope-from jonc@chen.org.nz) Received: from grimoire.chen.org.nz (localhost [127.0.0.1]) by chen.org.nz (8.12.7/8.12.7) with ESMTP id h1L4b7qR067856; Fri, 21 Feb 2003 17:37:09 +1300 (NZDT) (envelope-from jonc@grimoire.chen.org.nz) Received: (from jonc@localhost) by grimoire.chen.org.nz (8.12.7/8.12.7/Submit) id h1L4b72p067855; Fri, 21 Feb 2003 17:37:07 +1300 (NZDT) Date: Fri, 21 Feb 2003 17:37:07 +1300 From: Jonathan Chen To: Jon Reynolds Cc: freebsd-questions@freebsd.org Subject: Re: ftp users - question Message-ID: <20030221043706.GA67808@grimoire.chen.org.nz> References: <005d01c2d92d$8d70c990$0701a8c0@darryl> <20030220231312.GA66761@grimoire.chen.org.nz> <1045794312.1607.83.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1045794312.1607.83.camel@localhost.localdomain> User-Agent: Mutt/1.4i 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 [Please do not remove Cc: freebsd-questions] On Thu, Feb 20, 2003 at 05:25:12PM -0900, Jon Reynolds wrote: > On Thu, 2003-02-20 at 14:13, Jonathan Chen wrote: [...] > > Set up the users with a non-existent shell (eg: /nonexistent), and add > > the non-existent shell entry into /etc/shells. > > I tried this but when I went to adduser and typed in the shell name that > I had added to /etc/shells, it gives the error: > nonexistent is not allowed! > > When you first issue the adduser command it checks the /etc/shells then > says: > Shell: /nonexistent not executable! > > After this happened I made a dummy file called nonexistent and made it > executable but to no avail. Is there a hidden step? Add your users using vipw. Alternatively, add all your users using adduser and then use vipw to modify their shells to /nonexistent. -- Jonathan Chen ---------------------------------------------------------------------- "Beer. Now there's a temporary solution." - Homer Simpson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message