Date: Fri, 21 Feb 2003 17:37:07 +1300 From: Jonathan Chen <jonc@chen.org.nz> To: Jon Reynolds <jonr@ninestar.com> Cc: freebsd-questions@freebsd.org Subject: Re: ftp users - question Message-ID: <20030221043706.GA67808@grimoire.chen.org.nz> In-Reply-To: <1045794312.1607.83.camel@localhost.localdomain> References: <005d01c2d92d$8d70c990$0701a8c0@darryl> <20030220231312.GA66761@grimoire.chen.org.nz> <1045794312.1607.83.camel@localhost.localdomain>
next in thread | previous in thread | raw e-mail | index | archive | help
[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 <jonc@chen.org.nz>
----------------------------------------------------------------------
"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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030221043706.GA67808>
